summaryrefslogtreecommitdiff
path: root/x11/ipc/client
authorzecke <zecke>2002-10-15 21:38:43 (UTC)
committer zecke <zecke>2002-10-15 21:38:43 (UTC)
commitb774e015816e51ac65e5d1c685306f8404a3a19e (patch) (side-by-side diff)
treeccb4881ffce2a027b6c0b95854623bb713b69554 /x11/ipc/client
parentfb99aec5215da635abfa28288d170f110114bba3 (diff)
downloadopie-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
Diffstat (limited to 'x11/ipc/client') (more/less context) (ignore whitespace changes)
-rw-r--r--x11/ipc/client/ocopclient.h5
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
@@ -16,41 +16,44 @@
* asking if a Channel is registered,
* calling and receiving calls
*/
class OCOPPacket;
class OCOPClient : public QObject{
Q_OBJECT
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