Change comments from Japanese to English
[apps/agl-service-homescreen.git] / src / homescreen.c
index 4a15861..98631c8 100644 (file)
@@ -61,13 +61,12 @@ static void pingSample(struct afb_req request)
 }
 
 /**
- * HomeScreenから呼ばれる
- * ショートカットがタップされたことをアプリケーションに通知するために使用する
- * アプリケーションからは使用されない
- *
+ * tap_shortcut notify for homescreen
+ * When Shortcut area is tapped,  notify these applciations
+  *
  * #### Parameters
  * Request key
- * - application_name   : アプリケーション名
+ * - application_name   : application name
  *
  * #### Return
  * Nothing
@@ -92,7 +91,7 @@ static void tap_shortcut (struct afb_req request)
       return;
     }
 
-  // HomeScreenに返すレスポンス
+  // response to HomeScreen
     struct json_object *res = json_object_new_object();
     hs_add_object_to_json_object_func(res, __FUNCTION__, 2,
       _error,  ret);
@@ -100,12 +99,12 @@ static void tap_shortcut (struct afb_req request)
 }
 
 /**
- * HomeScreenのOnScreenを表示する
+ * HomeScreen OnScreen message
  *
  * #### Parameters
  * Request key
- * - display_message   : 表示したい文字列
- * 
+ * - display_message   : message for display
+ *
  * #### Return
  * Nothing
  *
@@ -129,7 +128,7 @@ static void on_screen_message (struct afb_req request)
       return;
     }
 
-  // HomeScreenに返すレスポンス
+  // response to HomeScreen
     struct json_object *res = json_object_new_object();
     hs_add_object_to_json_object_func(res, __FUNCTION__, 2,
       _error,  ret);