diff options
author | David Robillard <d@drobilla.net> | 2013-02-23 19:55:13 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-02-23 19:55:13 +0000 |
commit | 8c4f74f7705ba6909ffbd0d04ce8fe93c2224eab (patch) | |
tree | 83a12f522b3c340af2e21898ceea2041455312d2 /test | |
parent | d93b8cf9aaf8972f407c7cb6b8ef2de63be25112 (diff) | |
download | raul-8c4f74f7705ba6909ffbd0d04ce8fe93c2224eab.tar.gz raul-8c4f74f7705ba6909ffbd0d04ce8fe93c2224eab.tar.bz2 raul-8c4f74f7705ba6909ffbd0d04ce8fe93c2224eab.zip |
Move Atom implementation out of Raul so it can depend on LV2.
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@5076 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'test')
-rw-r--r-- | test/atom_test.cpp | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/test/atom_test.cpp b/test/atom_test.cpp deleted file mode 100644 index 381ebbe..0000000 --- a/test/atom_test.cpp +++ /dev/null @@ -1,39 +0,0 @@ -/* - This file is part of Raul. - Copyright 2007-2012 David Robillard <http://drobilla.net> - - Raul is free software: you can redistribute it and/or modify it under the - terms of the GNU General Public License as published by the Free Software - Foundation, either version 3 of the License, or any later version. - - Raul is distributed in the hope that it will be useful, but WITHOUT ANY - WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - A PARTICULAR PURPOSE. See the GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with Raul. If not, see <http://www.gnu.org/licenses/>. -*/ - -#include "raul/Atom.hpp" - -using namespace std; -using namespace Raul; - -int -main() -{ - //static const size_t buf_size = 9; - //char buf[buf_size] = "atomtest"; - - Forge forge; - - Atom nil_atom = forge.make(); - Atom int_atom = forge.make(42); - Atom float_atom = forge.make(42.0f); - Atom bool_atom = forge.make(true); - Atom string_atom = forge.alloc("hello"); - //Atom blob_atom = forge.alloc("http://example.org/atomtype", buf_size, buf); - - return 0; -} - |