From 8c4f74f7705ba6909ffbd0d04ce8fe93c2224eab Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 23 Feb 2013 19:55:13 +0000 Subject: 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 --- test/atom_test.cpp | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 test/atom_test.cpp (limited to 'test') 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 - - 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 . -*/ - -#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; -} - -- cgit v1.2.1