q66 pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=8014a35d56457372ef7e4822749b82860199d769
commit 8014a35d56457372ef7e4822749b82860199d769 Author: Vivek Ellur <vivek.el...@samsung.com> Date: Tue Jul 14 14:44:25 2015 +0100 elm_app_server: Convert eo docs to new format Summary: Converted docs of elm_app_server.eo and elm_app_server_view.eo to new format Signed-off-by: Vivek Ellur <vivek.el...@samsung.com> Reviewers: cedric, q66 Reviewed By: q66 Differential Revision: https://phab.enlightenment.org/D2816 --- src/lib/elm_app_server.eo | 41 ++++++++++++++++++++++------------------- src/lib/elm_app_server_view.eo | 4 ++-- 2 files changed, 24 insertions(+), 21 deletions(-) diff --git a/src/lib/elm_app_server.eo b/src/lib/elm_app_server.eo index 353ac03..4cd82ea 100644 --- a/src/lib/elm_app_server.eo +++ b/src/lib/elm_app_server.eo @@ -9,15 +9,15 @@ class Elm_App_Server (Eo.Base) get { } values { - icon: Eina_Stringshare *; /*@ title of icon */ + icon: Eina_Stringshare *; [[title of icon]] } } @property views { get { - /*@ Return a iterator with all views of application */ + [[Return a iterator with all views of application]] } values { - ret: free(own(iterator<Elm_App_Server_View *> *), eina_iterator_free); /*@ Iterator with all views of application, you must free iterator after use */ + ret: free(own(iterator<Elm_App_Server_View *> *), eina_iterator_free); [[Iterator with all views of application, you must free iterator after use]] } } @property path { @@ -36,10 +36,10 @@ class Elm_App_Server (Eo.Base) } @property pixels { get { - /*@ Get application raw icon. */ + [[Get application raw icon.]] } set { - /*@ Set icon to application, using the raw pixels of image. */ + [[Set icon to application, using the raw pixels of image.]] } values { w: uint; @@ -49,41 +49,44 @@ class Elm_App_Server (Eo.Base) } } constructor { - /*@ Class constructor of elm_app_server */ + [[Class constructor of elm_app_server]] legacy: null; params { - @in packageid: const(char)*; /*@ package of application */ - @in create_view_cb: Elm_App_Server_Create_View_Cb; /*@ callback to be called when user whants to open some application view */ + @in packageid: const(char)*; [[package of application]] + @in create_view_cb: Elm_App_Server_Create_View_Cb; [[callback to be called when user whants to open some application view]] } } close_all { - /*@ Close all views of application */ + [[Close all views of application]] } view_check { - /*@ If view id is available and unique, return the full DBus object path of view */ + [[If view id is available and unique, return the full DBus object path of view]] params { - @in id: const(char)*; /*@ view identifier */ + @in id: const(char)*; [[view identifier]] } - return: bool; /*@ @c EINA_TRUE if id is valid or @c EINA_FALSE if not */ + return: bool; [[true if id is valid or false if not]] } view_add { - /*@ Add a view to elm_app_server. This should only be used if the application open a view that was not requested by create_view_cb. */ + [[Add a view to elm_app_server. This should only be + used if the application open a view that was not + requested by create_view_cb. + ]] params { - @in view: Elm_App_Server_View *; /*@ elm_app_server_view */ + @in view: Elm_App_Server_View *; [[elm_app_server_view]] } } title_set { - /*@ Set a title to application. */ + [[Set a title to application.]] params { - @in title: const(char)* @nullable; /*@ title of application */ + @in title: const(char)* @nullable; [[title of application]] } } title_get { - /*@ Get title of application */ - return: Eina_Stringshare *; /*@ title of application */ + [[Get title of application]] + return: Eina_Stringshare *; [[title of application]] } save { - /*@ Save the state of all views */ + [[Save the state of all views]] } } implements { diff --git a/src/lib/elm_app_server_view.eo b/src/lib/elm_app_server_view.eo index dc48472..51e32c5 100644 --- a/src/lib/elm_app_server_view.eo +++ b/src/lib/elm_app_server_view.eo @@ -71,10 +71,10 @@ class Elm_App_Server_View (Eo.Base) } @property pixels { get { - /*@ Get application raw icon. */ + [[Get application raw icon.]] } set { - /*@ Set icon to application, using the raw pixels of image. */ + [[Set icon to application, using the raw pixels of image.]] } values { w: uint; --