Mercurial > mercurial > hgweb_rsearcher.cgi
diff include/net.h @ 8:82f9af6aa7e4
add net.cpp
author | pyon@macmini |
---|---|
date | Tue, 30 Oct 2018 17:26:02 +0900 |
parents | |
children | ae89ce4793d8 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/net.h Tue Oct 30 17:26:02 2018 +0900 @@ -0,0 +1,29 @@ +// Filename : net.h +// Last Change: 2018-10-29 月 15:31:38. +// + +#ifndef __NET_H__ +#define __NET_H__ + +#include <wx/msgdlg.h> +#include <wx/wfstream.h> +#include <wx/protocol/http.h> + +class RsHttp { + private: + wxString m_server; + int m_port; + + public: + RsHttp(); + ~RsHttp(); + + void SetServer( wxString server, int port ) { m_server = server; m_port = port; }; + void Get( wxString url, wxString file ); + void GetDB(); + int GetImagesSize( wxString hhs, wxString date ); + void GetImages( wxString hhs, wxString date ); +}; + +#endif //__NET_H__ +