summaryrefslogtreecommitdiffstats
path: root/src/gui/ThreadedLoader.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-28 01:10:26 +0000
committerDavid Robillard <d@drobilla.net>2012-04-28 01:10:26 +0000
commit70f4bcdde45e94dbe27300a5069994aebc523cab (patch)
tree049b88a7adfb4c11d4fb3643024422ce8b20ab32 /src/gui/ThreadedLoader.hpp
parentb08a8a15fd136ab8323e282484a5a96d698dc808 (diff)
downloadingen-70f4bcdde45e94dbe27300a5069994aebc523cab.tar.gz
ingen-70f4bcdde45e94dbe27300a5069994aebc523cab.tar.bz2
ingen-70f4bcdde45e94dbe27300a5069994aebc523cab.zip
Remove using declarations from headers.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4288 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/ThreadedLoader.hpp')
-rw-r--r--src/gui/ThreadedLoader.hpp28
1 files changed, 11 insertions, 17 deletions
diff --git a/src/gui/ThreadedLoader.hpp b/src/gui/ThreadedLoader.hpp
index be05e6c1..b9b613b8 100644
--- a/src/gui/ThreadedLoader.hpp
+++ b/src/gui/ThreadedLoader.hpp
@@ -28,15 +28,7 @@
#include "ingen/serialisation/Serialiser.hpp"
#include "ingen/serialisation/Parser.hpp"
-using std::string;
-using std::list;
-using boost::optional;
-
namespace Ingen {
-using namespace Shared;
-using namespace Client;
-using namespace Serialisation;
-
namespace GUI {
/** Thread for loading patch files.
@@ -56,18 +48,20 @@ public:
ThreadedLoader(App& app,
SharedPtr<Interface> engine);
- void load_patch(bool merge,
- const Glib::ustring& document_uri,
- optional<Raul::Path> engine_parent,
- optional<Raul::Symbol> engine_symbol,
- optional<GraphObject::Properties> engine_data);
+ void load_patch(bool merge,
+ const Glib::ustring& document_uri,
+ boost::optional<Raul::Path> engine_parent,
+ boost::optional<Raul::Symbol> engine_symbol,
+ boost::optional<GraphObject::Properties> engine_data);
- void save_patch(SharedPtr<const PatchModel> model, const string& filename);
+ void save_patch(SharedPtr<const Client::PatchModel> model,
+ const std::string& filename);
- SharedPtr<Parser> parser();
+ SharedPtr<Serialisation::Parser> parser();
private:
- void save_patch_event(SharedPtr<const PatchModel> model, const string& filename);
+ void save_patch_event(SharedPtr<const Client::PatchModel> model,
+ const std::string& filename);
/** Returns nothing and takes no parameters (because they have all been bound) */
typedef sigc::slot<void> Closure;
@@ -77,7 +71,7 @@ private:
App& _app;
SharedPtr<Interface> _engine;
Glib::Mutex _mutex;
- list<Closure> _events;
+ std::list<Closure> _events;
};
} // namespace GUI