]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/texwindow.h
Group import/export callbacks
[xonotic/netradiant.git] / radiant / texwindow.h
index 2debcceaa8d2486f20719e49c0947fd799e416b9..31cd4d413bcf277fea2ec4b745f6d3da91b6ae27 100644 (file)
@@ -43,11 +43,9 @@ const char* TextureBrowser_GetSelectedShader( TextureBrowser& textureBrower );
 void TextureBrowser_Construct();
 void TextureBrowser_Destroy();
 
-typedef Callback<void(const char*)> StringImportCallback;
-
 extern ui::Widget g_page_textures;
-void TextureBrowser_exportTitle( const StringImportCallback& importer );
-typedef FreeCaller<void(const StringImportCallback&), TextureBrowser_exportTitle> TextureBrowserExportTitleCaller;
+void TextureBrowser_exportTitle( const ImportExportCallback<const char *>::Import_t& importer );
+typedef FreeCaller<void(const ImportExportCallback<const char *>::Import_t&), TextureBrowser_exportTitle> TextureBrowserExportTitleCaller;
 
 const Vector3& TextureBrowser_getBackgroundColour( TextureBrowser& textureBrowser );
 void TextureBrowser_setBackgroundColour( TextureBrowser& textureBrowser, const Vector3& colour );