aboutsummaryrefslogtreecommitdiffstats
path: root/src/Loader.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-02-04 21:43:31 +0000
committerDavid Robillard <d@drobilla.net>2007-02-04 21:43:31 +0000
commit60647fedf17cdebfcf45c76d8fa9cee120006921 (patch)
treef4ebaa806321851c20c90b32c608da893d175f39 /src/Loader.hpp
parented85b5c7d96e40ada730614cb69776672738c87b (diff)
downloadmachina-60647fedf17cdebfcf45c76d8fa9cee120006921.tar.gz
machina-60647fedf17cdebfcf45c76d8fa9cee120006921.tar.bz2
machina-60647fedf17cdebfcf45c76d8fa9cee120006921.zip
Added missing files.
git-svn-id: http://svn.drobilla.net/lad/machina@275 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/Loader.hpp')
-rw-r--r--src/Loader.hpp45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/Loader.hpp b/src/Loader.hpp
new file mode 100644
index 0000000..35ac5f0
--- /dev/null
+++ b/src/Loader.hpp
@@ -0,0 +1,45 @@
+/* This file is part of Machina. Copyright (C) 2006 Dave Robillard.
+ *
+ * Machina 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 2 of the License, or (at your option) any later
+ * version.
+ *
+ * Machina 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 details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef LOADER_HPP
+#define LOADER_HPP
+
+#include <glibmm/ustring.h>
+#include "raul/SharedPtr.h"
+#include "raul/Path.h"
+#include "raul/Namespaces.h"
+
+using Raul::Namespaces;
+
+namespace Machina {
+
+class Machine;
+
+
+class Loader {
+public:
+ Loader(SharedPtr<Namespaces> = SharedPtr<Namespaces>());
+
+ SharedPtr<Machine> load(const Glib::ustring& filename);
+
+private:
+ SharedPtr<Namespaces> _namespaces;
+};
+
+
+} // namespace Machina
+
+#endif // LOADER_HPP