Fix issue that can't select last item in genlist
[platform/core/uifw/inputdelegator.git] / inc / w-input-selector.h
index 774f351..7ff2ed2 100755 (executable)
@@ -52,6 +52,8 @@ enum {
        APP_TYPE_REPLY,
        APP_TYPE_HANDWRITING,
        APP_TYPE_KEYBOARD,
+       APP_TYPE_DRAWING,
+       APP_TYPE_RECORDING,
 };
 
 enum {
@@ -59,6 +61,13 @@ enum {
        REPLY_APP_CONTROL,
 };
 
+enum {
+    MIME_TYPE_ALL = 0,
+    MIME_TYPE_IMAGE,
+    MIME_TYPE_AUDIO,
+    MIME_TYPE_TEXT,
+};
+
 typedef enum {
    TIZEN_PROFILE_UNKNOWN = 0,
    TIZEN_PROFILE_MOBILE = 0x1,
@@ -88,6 +97,7 @@ typedef struct appdata{
 
        app_control_h source_app_control;
        int app_type;
+       int mime_type;
        int reply_type;
        char* res_path;
        char* shared_res_path;
@@ -107,6 +117,8 @@ struct _InputKeyboardData
        char *guide_text;
        char *default_text;
        char *return_key_type;
+       int max_text_length;
+       int cursor_position_set;
 };
 typedef struct _InputKeyboardData InputKeyboardData;
 
@@ -119,7 +131,7 @@ typedef struct _InputTypeData InputTypeData;
 
 void _app_terminate(void* user_data);
 void reply_to_sender_by_callback_for_back();
-void reply_to_sender_by_callback(const char *value, const char *type, const char *path[]);
+void reply_to_sender_by_callback(const char *value, const char *type, const char *path[], const char *cursor_pos);
 char* get_resource_path();
 char* get_shared_resource_path();
 void show_gl_focus(Eina_Bool bVisible);