1 #ifndef __ANDROID_CONTROL_H__
2 #define __ANDROID_CONTROL_H__
4 #include "androidcontrol.inc"
6 #include "mwindowgui.inc"
14 #include <sys/socket.h>
15 #include <netinet/in.h>
16 #include <arpa/inet.h>
20 class AndroidControl : public Thread {
21 static const unsigned short PORT = 23432;
27 MWindowGUI *mwindow_gui;
29 bool is_msg(const char *cp);
32 int open(unsigned short port);
36 AndroidControl(MWindowGUI *mwindow_gui);