display framerate GUI option
[drnoksnes] / platform / hgw.h
1 #ifndef _PLATFORM_HGW_H_
2 #define _PLATFORM_HGW_H_
3
4 #ifdef __cplusplus
5 /** True if we were launched from GUI. */
6 extern bool hgwLaunched;
7
8 /** Called from main() before loading config; connects to DBus. */
9 void HgwInit();
10 /** Called from main() before closing. */
11 void HgwDeinit();
12 /** Called from main() after loading user config; loads GUI settings. */
13 void HgwConfig();
14 /** Called from main() in the event loop; polls DBus. */
15 void HgwPollEvents();
16 #endif
17
18 #define kGConfPath "/apps/maemo/drnoksnes"
19 #define kGConfRomFile kGConfPath "/" "rom"
20 #define kGConfDisableAudio kGConfPath "/" "no_audio"
21 #define kGConfTurboMode kGConfPath "/" "turbo"
22 #define kGConfFrameskip kGConfPath "/" "frameskip"
23 #define kGConfTransparency kGConfPath "/" "transparency"
24 #define kGConfDisplayFramerate kGConfPath "/" "display-framerate"
25 #define kGConfSpeedhacks kGConfPath "/" "speedhacks"
26 #define kGConfMapping kGConfPath "/" "mapping"
27 #define kGConfKeysPath kGConfPath "/" "keys"
28
29 #endif
30