]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/gtkdlgs.h
radiant: replace StringBuffer with std::string
[xonotic/netradiant.git] / radiant / gtkdlgs.h
index 0ff194e606dd1ae80f42cac5a878d2229680ccb3..0dad793a95552463b4fafb7a11df2530765b7ff1 100644 (file)
 #if !defined( INCLUDED_GTKDLGS_H )
 #define INCLUDED_GTKDLGS_H
 
+#include "globaldefs.h"
 #include "qerplugin.h"
 #include "string/string.h"
 
 EMessageBoxReturn DoLightIntensityDlg( int *intensity );
-EMessageBoxReturn DoShaderTagDlg( CopiedString *tag, char* title );
-EMessageBoxReturn DoShaderInfoDlg( const char* name, const char* filename, char* title );
+EMessageBoxReturn DoShaderTagDlg( CopiedString *tag, const char* title );
+EMessageBoxReturn DoShaderInfoDlg( const char* name, const char* filename, const char* title );
 EMessageBoxReturn DoTextureLayout( float *fx, float *fy );
 void DoTextEditor( const char* filename, int cursorpos );
 
@@ -47,7 +48,7 @@ void DoSides( int type, int axis );
 void DoAbout();
 
 
-#ifdef WIN32
+#if GDEF_OS_WINDOWS
 extern bool g_TextEditor_useWin32Editor;
 #else
 #include "string/stringfwd.h"