diff options
author | David Robillard <d@drobilla.net> | 2007-02-05 06:23:05 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-02-05 06:23:05 +0000 |
commit | 4c8aad127d9504c7d355975180f877f5baa9f744 (patch) | |
tree | bdb70b9a849a290f32c9bbb45947da4b796dcd97 /src/Loader.hpp | |
parent | 60647fedf17cdebfcf45c76d8fa9cee120006921 (diff) | |
download | machina-4c8aad127d9504c7d355975180f877f5baa9f744.tar.gz machina-4c8aad127d9504c7d355975180f877f5baa9f744.tar.bz2 machina-4c8aad127d9504c7d355975180f877f5baa9f744.zip |
It's aliiiiivee!
git-svn-id: http://svn.drobilla.net/lad/machina@278 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/Loader.hpp')
-rw-r--r-- | src/Loader.hpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/Loader.hpp b/src/Loader.hpp index 35ac5f0..0149584 100644 --- a/src/Loader.hpp +++ b/src/Loader.hpp @@ -1,4 +1,4 @@ -/* This file is part of Machina. Copyright (C) 2006 Dave Robillard. +/* This file is part of Machina. Copyright (C) 2007 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 @@ -14,8 +14,8 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef LOADER_HPP -#define LOADER_HPP +#ifndef MACHINA_LOADER_HPP +#define MACHINA_LOADER_HPP #include <glibmm/ustring.h> #include "raul/SharedPtr.h" @@ -27,19 +27,22 @@ using Raul::Namespaces; namespace Machina { class Machine; +class NodeFactory; class Loader { public: - Loader(SharedPtr<Namespaces> = SharedPtr<Namespaces>()); + Loader(SharedPtr<NodeFactory> node_factory, + SharedPtr<Namespaces> = SharedPtr<Namespaces>()); SharedPtr<Machine> load(const Glib::ustring& filename); private: - SharedPtr<Namespaces> _namespaces; + SharedPtr<NodeFactory> _node_factory; + SharedPtr<Namespaces> _namespaces; }; } // namespace Machina -#endif // LOADER_HPP +#endif // MACHINA_LOADER_HPP |