view include/main.h @ 7:29829e98d510

add net.cpp
author pyon@macmini
date Fri, 26 Oct 2018 21:05:11 +0900
parents 9a8b581c1993
children ae89ce4793d8
line wrap: on
line source

// Filename   : main.h
// Last Change: 2018-10-25 –Ø 17:24:41.
//
#include <wx/wx.h>
#include <wx/config.h>
#include <wx/fileconf.h>
#include <wx/splash.h>
#include <wx/fs_zip.h>
#include <wx/filesys.h>
#include <wx/wfstream.h>

// private classes
// Define a new application type, each program should derive a class from wxApp
class MyApp : public wxApp
{
    DECLARE_CLASS( MyApp )
	private:
		wxFileConfig *config;
		wxString      conf_file;
		wxString	  m_serveraddr;
		int     	  m_serverport;
        bool          develop;

	public:
		wxRect rect;

		MyApp();
		~MyApp();

		virtual bool OnInit();
		virtual int  OnExit();

		void InitSetting();
		void SaveSetting();
		void RemoveFile( wxString pattern );
};

DECLARE_APP( MyApp )