[ecore_imf] shift_mode_set -> caps_mode_set
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 17 Sep 2010 06:47:36 +0000 (15:47 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 17 Sep 2010 06:47:36 +0000 (15:47 +0900)
src/lib/ecore_imf/Ecore_IMF.h
src/lib/ecore_imf/ecore_imf_context.c

index c51ced1..6580846 100644 (file)
@@ -174,15 +174,15 @@ extern "C" {
    // will be deleted soon
    typedef struct 
      {
-        bool fUseImEffect;  /**< whether use Im effect or not */       
+        bool fUseImEffect;  /**< whether use Im effect or not */
      } ISE_STYLE;
 
    typedef enum
      {
-        ECORE_IMF_INPUT_PANEL_SHIFT_MODE_OFF,  /**< Off */
-        ECORE_IMF_INPUT_PANEL_SHIFT_MODE_ON,   /**< On */ 
-        ECORE_IMF_INPUT_PANEL_SHIFT_MODE_LOCK, /**< Lock */
-     } Ecore_IMF_Input_Panel_Shift_Mode;
+        ECORE_IMF_INPUT_PANEL_CAPS_MODE_OFF,   /**< Off */
+        ECORE_IMF_INPUT_PANEL_CAPS_MODE_ON,    /**< On */ 
+        ECORE_IMF_INPUT_PANEL_CAPS_MODE_LOCK,  /**< Lock */
+     } Ecore_IMF_Input_Panel_Caps_Mode;
 
    typedef enum 
      {
@@ -488,7 +488,7 @@ extern "C" {
         int (*ise_set_active_ise_by_name) (Ecore_IMF_Context *ctx, const char* name); /**< will be deprecated */
         int (*ise_set_active_ise_by_uuid) (Ecore_IMF_Context *ctx, const char* uuid); /**< will be deprecated */
         int (*ise_get_iselist)            (Ecore_IMF_Context *ctx, char*** iselist);  /**< will be deprecated */
-        int (*input_panel_shift_mode_set) (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Shift_Mode mode);
+        int (*input_panel_caps_mode_set)  (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Caps_Mode mode);
      };
 
    struct _Ecore_IMF_Context_Info
@@ -1237,7 +1237,7 @@ extern "C" {
     */
    EAPI void ecore_imf_context_input_panel_move  (Ecore_IMF_Context *ctx, int x, int y);
 
-   EAPI void ecore_imf_context_input_panel_shift_mode_set (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Shift_Mode mode);
+   EAPI void ecore_imf_context_input_panel_caps_mode_set (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Caps_Mode mode);
 
    /* The following entry points must be exported by each input method module
     */
index d5481bb..c83f04b 100644 (file)
@@ -1406,13 +1406,13 @@ ecore_imf_context_input_panel_move (Ecore_IMF_Context *ctx, int x, int y)
 }
 
 EAPI void      
-ecore_imf_context_input_panel_shift_mode_set (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Shift_Mode mode)
+ecore_imf_context_input_panel_caps_mode_set (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Caps_Mode mode)
 {
    if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
      {
-       ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT,"ecore_imf_context_input_panel_shift_mode_set");
+       ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT,"ecore_imf_context_input_panel_caps_mode_set");
        return;
      }
 
-   if (ctx->klass->input_panel_shift_mode_set) ctx->klass->input_panel_shift_mode_set(ctx, mode);
+   if (ctx->klass->input_panel_caps_mode_set) ctx->klass->input_panel_caps_mode_set(ctx, mode);
 }