]> 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 ab8278e78f39decc33ea5d3c094919186a21580f..5997abd34e286fc9d36c3c9fe2049e025c3f207a 100644 (file)
@@ -27,6 +27,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #include "gtkutil/widget.h"
 #include "string/string.h"
 
+#include "qerplugin.h"
+
 class IPlugIn;
 class IToolbarButton;
 
@@ -182,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();
@@ -190,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);
   }
@@ -223,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
 
@@ -274,6 +278,9 @@ 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);
 
 #endif