From 1bbfa36a7f9960bfbe8468ff60facba45f396cd4 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 6 Feb 2009 00:32:04 -0500 Subject: Client handles Sigmod pointer now --- sigencore/Client.cpp | 5 +++-- sigencore/Client.h | 9 ++++++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/sigencore/Client.cpp b/sigencore/Client.cpp index 625e2674..0c59970b 100644 --- a/sigencore/Client.cpp +++ b/sigencore/Client.cpp @@ -18,8 +18,9 @@ // Header include #include "Client.h" -Sigencore::Client::Client(Sigscript::Config* parent) : - Sigscript::Config(parent) +Sigencore::Client::Client(Sigscript::SigmodWrapper* sigmod, Sigscript::Config* parent) : + Sigscript::Config(parent), + m_sigmod(sigmod) { } diff --git a/sigencore/Client.h b/sigencore/Client.h index ca10e6a8..e3627a58 100644 --- a/sigencore/Client.h +++ b/sigencore/Client.h @@ -24,6 +24,12 @@ // Sigscript includes #include "../sigscript/Config.h" +// Forward declarations +namespace Sigscript +{ +class SigmodWrapper; +} + namespace Sigencore { class Arena; @@ -50,9 +56,10 @@ class SIGENCORE_EXPORT Client : public Sigscript::Config // // void timeout(); protected: - Client(Sigscript::Config* parent); + Client(Sigscript::SigmodWrapper* sigmod, Sigscript::Config* parent); virtual ~Client(); + Sigscript::SigmodWrapper* m_sigmod; Arena* m_arena; protected slots: private: -- cgit