diff options
Diffstat (limited to 'include/ingen')
-rw-r--r-- | include/ingen/client/ThreadedSigClientInterface.hpp | 1 | ||||
-rw-r--r-- | include/ingen/serialisation/Serialiser.hpp | 28 | ||||
-rw-r--r-- | include/ingen/shared/Store.hpp | 1 |
3 files changed, 16 insertions, 14 deletions
diff --git a/include/ingen/client/ThreadedSigClientInterface.hpp b/include/ingen/client/ThreadedSigClientInterface.hpp index 64901e8f..3de2eaea 100644 --- a/include/ingen/client/ThreadedSigClientInterface.hpp +++ b/include/ingen/client/ThreadedSigClientInterface.hpp @@ -22,6 +22,7 @@ #include <string> +#undef nil #include <sigc++/sigc++.h> #include <glibmm/thread.h> diff --git a/include/ingen/serialisation/Serialiser.hpp b/include/ingen/serialisation/Serialiser.hpp index 4dbb78de..111794d7 100644 --- a/include/ingen/serialisation/Serialiser.hpp +++ b/include/ingen/serialisation/Serialiser.hpp @@ -49,29 +49,29 @@ class Serialiser { public: Serialiser(Shared::World& world, SharedPtr<Shared::Store> store); - ~Serialiser(); + virtual ~Serialiser(); typedef GraphObject::Properties Properties; - void to_file(SharedPtr<const GraphObject> object, - const std::string& filename); + virtual void to_file(SharedPtr<const GraphObject> object, + const std::string& filename); - void write_bundle(SharedPtr<const Patch> patch, - const std::string& path); + virtual void write_bundle(SharedPtr<const Patch> patch, + const std::string& path); - std::string to_string(SharedPtr<const GraphObject> object, - const std::string& base_uri, - const Properties& extra_rdf); + virtual std::string to_string(SharedPtr<const GraphObject> object, + const std::string& base_uri, + const Properties& extra_rdf); - void start_to_string(const Raul::Path& root, - const std::string& base_uri); + virtual void start_to_string(const Raul::Path& root, + const std::string& base_uri); - void serialise(SharedPtr<const GraphObject> object) throw (std::logic_error); + virtual void serialise(SharedPtr<const GraphObject> object) throw (std::logic_error); - void serialise_connection(const Sord::Node& parent, - SharedPtr<const Connection> c) throw (std::logic_error); + virtual void serialise_connection(const Sord::Node& parent, + SharedPtr<const Connection> c) throw (std::logic_error); - std::string finish(); + virtual std::string finish(); private: struct Impl; diff --git a/include/ingen/shared/Store.hpp b/include/ingen/shared/Store.hpp index cc78e946..3347cdde 100644 --- a/include/ingen/shared/Store.hpp +++ b/include/ingen/shared/Store.hpp @@ -20,6 +20,7 @@ #include <string> +#undef nil #include <glibmm/thread.h> #include "raul/PathTable.hpp" |