display framerate GUI option
[drnoksnes] / platform / hgw.h
index 47200f5..6c5ea56 100644 (file)
@@ -2,11 +2,16 @@
 #define _PLATFORM_HGW_H_
 
 #ifdef __cplusplus
+/** True if we were launched from GUI. */
 extern bool hgwLaunched;
 
+/** Called from main() before loading config; connects to DBus. */
 void HgwInit();
+/** Called from main() before closing. */
 void HgwDeinit();
+/** Called from main() after loading user config; loads GUI settings. */
 void HgwConfig();
+/** Called from main() in the event loop; polls DBus. */
 void HgwPollEvents();
 #endif
 
@@ -16,6 +21,7 @@ void HgwPollEvents();
 #define kGConfTurboMode kGConfPath "/" "turbo"
 #define kGConfFrameskip kGConfPath "/" "frameskip"
 #define kGConfTransparency kGConfPath "/" "transparency"
+#define kGConfDisplayFramerate kGConfPath "/" "display-framerate"
 #define kGConfSpeedhacks kGConfPath "/" "speedhacks"
 #define kGConfMapping kGConfPath "/" "mapping"
 #define kGConfKeysPath kGConfPath "/" "keys"