2006-12-14 03:55:15 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
|
|
|
* Module: rbutil
|
|
|
|
* File: rbutilApp.h
|
|
|
|
*
|
|
|
|
* Copyright (C) 2005 Christi Alice Scarborough
|
|
|
|
*
|
|
|
|
* All files in this archive are subject to the GNU General Public License.
|
|
|
|
* See the file COPYING in the source tree root for full license agreement.
|
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
2006-12-11 21:25:37 +00:00
|
|
|
|
|
|
|
#include <wx/wxprec.h>
|
|
|
|
#ifdef __BORLANDC__
|
|
|
|
#pragma hdrstop
|
|
|
|
#endif
|
|
|
|
#ifndef WX_PRECOMP
|
|
|
|
#include <wx/wx.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <wx/msgdlg.h>
|
|
|
|
#include <wx/config.h>
|
|
|
|
#include <wx/confbase.h>
|
|
|
|
#include <wx/fileconf.h>
|
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/wfstream.h>
|
|
|
|
#include <wx/fs_inet.h>
|
|
|
|
#include <wx/fs_zip.h>
|
|
|
|
#include <wx/stdpaths.h>
|
|
|
|
|
|
|
|
#include "rbutilFrm.h"
|
|
|
|
#include "rbutil.h"
|
|
|
|
|
|
|
|
class rbutilFrmApp:public wxApp
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
bool OnInit();
|
|
|
|
int OnExit();
|
|
|
|
bool ReadGlobalConfig(rbutilFrm* myFrame);
|
|
|
|
void ReadUserConfig(void);
|
|
|
|
void WriteUserConfig(void);
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2006-12-11 22:22:36 +00:00
|
|
|
|