Mercurial > mercurial > hgweb_rsearcher.cgi
comparison include/net.h @ 8:82f9af6aa7e4
add net.cpp
author | pyon@macmini |
---|---|
date | Tue, 30 Oct 2018 17:26:02 +0900 |
parents | |
children | ae89ce4793d8 |
comparison
equal
deleted
inserted
replaced
7:29829e98d510 | 8:82f9af6aa7e4 |
---|---|
1 // Filename : net.h | |
2 // Last Change: 2018-10-29 月 15:31:38. | |
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; }; | |
22 void Get( wxString url, wxString file ); | |
23 void GetDB(); | |
24 int GetImagesSize( wxString hhs, wxString date ); | |
25 void GetImages( wxString hhs, wxString date ); | |
26 }; | |
27 | |
28 #endif //__NET_H__ | |
29 |