view include/net.h @ 14:c1dc1fcee7fe

print zoom.
author pyon@macmini
date Sun, 09 Dec 2018 14:38:15 +0900
parents f5ffc34f045a
children c262e17de9b1
line wrap: on
line source

// Filename   : net.h
// Last Change: 2018-11-14 水 10:05:44.
//

#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; };
		bool Get( wxString url, wxString file );
		bool GetDB( int a, int h, int i);
		int  GetImagesSize( wxString hhs, wxString date );
		void GetImages( wxString hhs, wxString date );
		void GetImages2Memory( wxString hhs, wxString date );
};

#endif //__NET_H__