new controls dialog; using gconf instead of hgw
[drnoksnes] / platform / hgw.h
index a953b6f..885c5a2 100644 (file)
@@ -2,20 +2,18 @@
 #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
 
-#define kGConfPath "/apps/maemo/drnoksnes/"
-#define kGConfRomFile kGConfPath "rom"
-#define kGConfDisableAudio kGConfPath "no_audio"
-#define kGConfTurboMode kGConfPath "turbo"
-#define kGConfFrameskip kGConfPath "frameskip"
-#define kGConfSpeedhacks kGConfPath "speedhacks"
-
 #endif