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.ellur@samsung.com>

Reviewers: cedric, q66

Reviewed By: q66

Differential Revision: https://phab.enlightenment.org/D2816
This commit is contained in:
Vivek Ellur 2015-07-14 14:44:25 +01:00 committed by Daniel Kolesa
parent c4447f0a1b
commit 51f295d676
2 changed files with 24 additions and 21 deletions

View File

@ -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 {

View File

@ -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;