8
|
1 // Filename : net.h
|
9
|
2 // Last Change: 2018-10-31 水 10:34:32.
|
8
|
3 //
|
|
4
|
|
5 #ifndef __NET_H__
|
|
6 #define __NET_H__
|
|
7
|
|
8 #include <wx/msgdlg.h>
|
|
9 #include <wx/wfstream.h>
|
|
10 #include <wx/protocol/http.h>
|
|
11
|
|
12 class RsHttp {
|
|
13 private:
|
|
14 wxString m_server;
|
|
15 int m_port;
|
|
16
|
|
17 public:
|
|
18 RsHttp();
|
|
19 ~RsHttp();
|
|
20
|
|
21 void SetServer( wxString server, int port ) { m_server = server; m_port = port; };
|
9
|
22 bool Get( wxString url, wxString file );
|
|
23 bool GetDB();
|
8
|
24 int GetImagesSize( wxString hhs, wxString date );
|
|
25 void GetImages( wxString hhs, wxString date );
|
|
26 };
|
|
27
|
|
28 #endif //__NET_H__
|
|
29
|