-rw-r--r-- | x11/ipc/client/ocopclient.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/ipc/client/ocopclient.h b/x11/ipc/client/ocopclient.h index 53018a5..ee2015a 100644 --- a/x11/ipc/client/ocopclient.h +++ b/x11/ipc/client/ocopclient.h @@ -19,9 +19,13 @@ class OCOPPacket; class OCOPClient : public QObject{ Q_OBJECT public: - + /* + * this is the static + * OCopClient + */ + static OCOPClient* self(); /** * Occasionally I decide to start a Server from here */ OCOPClient(const QString& pathToServer = QString::null, QObject* obj = 0l); @@ -55,7 +59,8 @@ private: QSocketNotifier* m_notify; int m_socket; int m_tries; + static OCOPClient* m_self; }; #endif |