26#ifndef __WIFICLIENT_H__
27#define __WIFICLIENT_H__
42#include <wx/datetime.h>
48#define WIFI_TRANSMIT_DATA 0x42
49#define WIFI_TRANSMIT_DATA_EXT 'D'
84 WIFIWindow(wxFrame *frame,
const wxString &WiFiServerName);
87 void GetSource(wxString &source);
95 void OnPaint(wxPaintEvent &event);
96 void OnActivate(wxActivateEvent &event);
97 void OnSocketEvent(wxSocketEvent &event);
98 void OnTimer1(wxTimerEvent &event);
99 void OnCloseWindow(wxCloseEvent &event);
100 void wxDTToMyFileTime(wxDateTime *SDT,
WiFiMyFileTime *pFileTime);
101 void MyFileTimeTowxDT(
WiFiMyFileTime *pFileTime, wxDateTime *SDT);
104 wxSocketClient *m_sock;
109 wxString *m_pdata_server_string;
111 int m_scan_interval_msec;
116 DECLARE_EVENT_TABLE()
146#define SERVER_PORT 3000
148#define WIFI_DOG_TIMEOUT 5