]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/mainframe.h
(THIS IS A TRANSITIONAL REVISION, DO NOT USE, WAIT FOR UPDATED DEPS)
[xonotic/netradiant.git] / radiant / mainframe.h
index 4fadaae5adc929349717e8a110aaeb4af34b71bc..5997abd34e286fc9d36c3c9fe2049e025c3f207a 100644 (file)
@@ -184,7 +184,7 @@ void deleteSelection();
 void Sys_Status(const char* status);
 
 
-void ScreenUpdates_Disable(const char* message, const char* title = "");
+void ScreenUpdates_Disable(const char* message, const char* title);
 void ScreenUpdates_Enable();
 bool ScreenUpdates_Enabled();
 void ScreenUpdates_process();
@@ -192,7 +192,7 @@ void ScreenUpdates_process();
 class ScopeDisableScreenUpdates
 {
 public:
-  ScopeDisableScreenUpdates(const char* message, const char* title = "")
+  ScopeDisableScreenUpdates(const char* message, const char* title)
   {
     ScreenUpdates_Disable(message, title);
   }
@@ -225,6 +225,8 @@ const char* AppPath_get();
 extern CopiedString g_strSettingsPath;
 const char* SettingsPath_get();
 
+const char* LocalRcPath_get(void);
+
 const char* const g_pluginsDir = "plugins/"; ///< name of plugins directory, always sub-directory of toolspath
 const char* const g_modulesDir = "modules/"; ///< name of modules directory, always sub-directory of toolspath
 
@@ -276,6 +278,8 @@ extern int (*GridStatus_getFarClipDistance)();
 extern bool (*GridStatus_getTextureLockEnabled)();
 void GridStatus_onTextureLockEnabledChanged();
 
+SignalHandlerId XYWindowDestroyed_connect(const SignalHandler& handler);
+void XYWindowDestroyed_disconnect(SignalHandlerId id);
 MouseEventHandlerId XYWindowMouseDown_connect(const MouseEventHandler& handler);
 void XYWindowMouseDown_disconnect(MouseEventHandlerId id);