1 #ifndef AESALON_GUI_ACTIVE_SESSION_SOCKET_H
2 #define AESALON_GUI_ACTIVE_SESSION_SOCKET_H
7 #include "platform/Memory.h"
8 #include "platform/Event.h"
13 class ActiveSessionSocket
: public QObject
{ Q_OBJECT
15 Platform::Memory
*memory
;
18 ActiveSessionSocket(QString host
, int port
, Platform::Memory
*memory
);
19 virtual ~ActiveSessionSocket();
22 void reemit_connected() { emit
connected(); }
23 void reemit_disconnected() { emit
disconnected(); }
27 void event_received(Platform::Event
*event
);
31 } // namespace Aesalon