1 |
|
/* |
2 |
|
* main.h - Main program |
3 |
|
* |
4 |
< |
* Frodo (C) 1994-1997,2002-2005 Christian Bauer |
4 |
> |
* Frodo Copyright (C) Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
124 |
|
public: |
125 |
|
Frodo(); |
126 |
|
void ArgvReceived(int argc, char **argv); |
127 |
< |
void ReadyToRun(void); |
128 |
< |
static Prefs *reload_prefs(void); |
129 |
< |
static char* get_prefs_path() { return prefs_path; }; |
127 |
> |
void ReadyToRun(); |
128 |
> |
bool RunPrefsEditor(); |
129 |
> |
|
130 |
> |
static const char *get_prefs_path() { return prefs_path; } |
131 |
> |
|
132 |
|
private: |
133 |
|
void load_rom(const char *which, const char *path, uint8 *where, size_t size, const uint8 *builtin); |
134 |
|
void load_rom_files(); |
136 |
|
static char prefs_path[256]; // Pathname of current preferences file |
137 |
|
}; |
138 |
|
|
139 |
+ |
extern Frodo *TheApp; // Pointer to Frodo object |
140 |
+ |
|
141 |
|
#endif |
142 |
|
|
143 |
|
|