blob: 777d31b2b764666b11e5a25c3306601a9d54119c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef _IPC_H
#define _IPC_H
class CServer : public wxServer {
public:
wxConnectionBase * OnAcceptConnection (const wxString &topic);
};
class CClient : public wxClient {
public:
wxConnectionBase * OnMakeConnection ();
};
class CServerConnection : public wxConnection {
public:
const void * OnRequest (const wxString &topic, const wxString &item, size_t *size, wxIPCFormat format);
};
class CClientConnection : public wxConnection {
public:
CClientConnection() : wxConnection() {}
~CClientConnection() {}
bool OnAdvise (const wxString &topic, const wxString &item, const void *data, size_t size, wxIPCFormat format);
};
#endif /* _IPC_H */
|