Fix crash issue occured when terminating
[platform/core/uifw/inputdelegator.git] / inc / w-input-selector.h
index 7ff2ed2..cedcf17 100755 (executable)
@@ -44,6 +44,9 @@
 #include <Elementary.h>
 #include <Evas.h>
 #include <efl_extension.h>
+#include <string>
+
+using namespace std;
 
 enum {
        APP_TYPE_SELECT_MODE = 1,
@@ -114,9 +117,9 @@ typedef enum
 
 struct _InputKeyboardData
 {
-       char *guide_text;
-       char *default_text;
-       char *return_key_type;
+       string guide_text;
+       string default_text;
+       string return_key_type;
        int max_text_length;
        int cursor_position_set;
 };