21 lines
378 B
C++
21 lines
378 B
C++
#ifndef CLOUDSERVER_H
|
|
#define CLOUDSERVER_H
|
|
|
|
#include "dispatcherclient.h"
|
|
|
|
|
|
class CloudServer : public PIObject {
|
|
PIOBJECT(CloudServer)
|
|
public:
|
|
CloudServer(DispatcherClient * c);
|
|
~CloudServer();
|
|
void addClient(DispatcherClient * c);
|
|
EVENT_HANDLER0(void, printStatus);
|
|
|
|
private:
|
|
DispatcherClient * server;
|
|
PIVector<DispatcherClient*> clients;
|
|
};
|
|
|
|
#endif // CLOUDSERVER_H
|