view include/appconf.h @ 1:f40a65687079

small fix.
author pyon@macmini
date Mon, 10 Jun 2019 05:56:36 +0900
parents 2f5584f0d127
children
line wrap: on
line source

// Filename   : appconf.h
// Last Change: 2019-06-09 Sun 16:54:00.
//
#pragma once

#include <wx/wx.h>
#include <wx/config.h>
#include <wx/fileconf.h>
#include <wx/filesys.h>

class AppConf {
	private:
		wxFileConfig *config;
		wxString      conf_file;

	public:
		AppConf();
		~AppConf();

		wxRect LoadRect( void );
		wxRect LoadMask( int i );
		wxString LoadWork( void );
        wxString LoadScanner( void );
		void LoadCcn( wxComboBox ccn, wxComboBox sss );

		void SaveRect( wxRect rect );
		void SaveWork( wxString dir );
};