diff options
Diffstat (limited to 'project2/daemon/lib')
-rw-r--r-- | project2/daemon/lib/daemon.cpp | 4 | ||||
-rw-r--r-- | project2/daemon/lib/daemon.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/project2/daemon/lib/daemon.cpp b/project2/daemon/lib/daemon.cpp index bde0f45..f4af1c8 100644 --- a/project2/daemon/lib/daemon.cpp +++ b/project2/daemon/lib/daemon.cpp @@ -1,5 +1,5 @@ #include "daemon.h" -#include "instanceStore.impl.h" +#include <factory.impl.h> Daemon::Daemon() { @@ -19,5 +19,5 @@ Daemon::teardown() const { } -INSTANTIATESTORE(std::string, DaemonLoader); +INSTANTIATEFACTORY(Daemon, int &, char **); diff --git a/project2/daemon/lib/daemon.h b/project2/daemon/lib/daemon.h index d565e57..261d2f0 100644 --- a/project2/daemon/lib/daemon.h +++ b/project2/daemon/lib/daemon.h @@ -2,7 +2,7 @@ #define DAEMON_H #include <glibmm/ustring.h> -#include <genLoader.h> +#include <factory.h> #include <intrusivePtrBase.h> class Daemon : public IntrusivePtrBase { @@ -17,7 +17,7 @@ class Daemon : public IntrusivePtrBase { }; typedef boost::intrusive_ptr<Daemon> DaemonPtr; -typedef GenLoader<Daemon, std::string, int &, char **> DaemonLoader; +typedef AdHoc::Factory<Daemon, int &, char **> DaemonFactory; #endif |