// This file is part of fityk program. Copyright (C) Marcin Wojdyr
// Licence: GNU General Public License version 2
// $Id: app.h 317 2007-07-15 00:39:46Z wojdyr $
#ifndef FITYK__WX_APP__H__
#define FITYK__WX_APP__H__
class wxCmdLineParser;
/// Fityk-GUI "main loop"
class FApp: public wxApp
{
public:
// default config name
wxString conf_filename;
// alternative config name
wxString alt_conf_filename;
// directory for (named by user) config files
wxString config_dir;
bool OnInit(void);
int OnExit();
private:
bool is_fityk_script(std::string filename);
void process_argv(wxCmdLineParser &cmdLineParser);
};
std::string get_full_path_of_help_file (std::string const& name);
DECLARE_APP(FApp)
#endif
syntax highlighted by Code2HTML, v. 0.9.1