author | zecke <zecke> | 2002-10-15 21:38:43 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-15 21:38:43 (UTC) |
commit | b774e015816e51ac65e5d1c685306f8404a3a19e (patch) (side-by-side diff) | |
tree | ccb4881ffce2a027b6c0b95854623bb713b69554 /x11/ipc | |
parent | fb99aec5215da635abfa28288d170f110114bba3 (diff) | |
download | opie-b774e015816e51ac65e5d1c685306f8404a3a19e.zip opie-b774e015816e51ac65e5d1c685306f8404a3a19e.tar.gz opie-b774e015816e51ac65e5d1c685306f8404a3a19e.tar.bz2 |
More OPIE X11 Stuff
Some empty stubs to compile against Qt2/X
it will not link though
-rw-r--r-- | x11/ipc/client/ocopclient.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/x11/ipc/client/ocopclient.h b/x11/ipc/client/ocopclient.h index 5300132..db04d37 100644 --- a/x11/ipc/client/ocopclient.h +++ b/x11/ipc/client/ocopclient.h @@ -24,33 +24,36 @@ public: /** * Occasionally I decide to start a Server from here */ OCOPClient(const QString& pathToServer = QString::null, QObject* obj = 0l); ~OCOPClient(); bool isRegistered( const QCString& )const; void send( const QCString& chan, const QCString&, const QByteArray& msg ); /** * add a channel and does connect to a signal * callback is the object * slot is the SLOT() */ void addChannel( const QCString& channel ); void delChannel( const QCString& channel ); + + /* make it singleton? */ + //static OCOPClient* self(); /* no direct signals due the design */ signals: - void called(const QCString&, const QCString&, const QByteArray ); + void called(const QCString&, const QCString&, const QByteArray& ); private slots: void init(const QCString& pa); void newData(); private: OCOPPacket packet(); void call( const OCOPPacket& ); QSocketNotifier* m_notify; int m_socket; private slots: }; #endif |