Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2020-04-16 19:09:38 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-04-28 13:57:39 +0300
commit2580fa160289f2473b3b6222a62ab228634ecde1 (patch)
tree90e5b92b0bdd47752dc5e9bbd19361a496f08660 /intern/ghost/GHOST_IWindow.h
parentb21a3e770277aef4d7a17b9b72c1c622493a5eb9 (diff)
Cleanup: remove STR_String usage from GHOST
Diffstat (limited to 'intern/ghost/GHOST_IWindow.h')
-rw-r--r--intern/ghost/GHOST_IWindow.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/intern/ghost/GHOST_IWindow.h b/intern/ghost/GHOST_IWindow.h
index daf07b81e01..62290d20f1c 100644
--- a/intern/ghost/GHOST_IWindow.h
+++ b/intern/ghost/GHOST_IWindow.h
@@ -27,7 +27,9 @@
#include "GHOST_Rect.h"
#include "GHOST_Types.h"
-#include "STR_String.h"
+
+#include <stdlib.h>
+#include <string>
/**
* Interface for GHOST windows.
@@ -81,13 +83,13 @@ class GHOST_IWindow {
* Sets the title displayed in the title bar.
* \param title The title to display in the title bar.
*/
- virtual void setTitle(const STR_String &title) = 0;
+ virtual void setTitle(const char *title) = 0;
/**
* Returns the title displayed in the title bar.
* \param title The title displayed in the title bar.
*/
- virtual void getTitle(STR_String &title) const = 0;
+ virtual std::string getTitle() const = 0;
/**
* Returns the window rectangle dimensions.