elementary: move definition of Elm_App_View_State to elm_general.eot

Move the definition of the enumeration Elm_App_View_State from
elm_app_common.h to elm_general.eot, and give it the the Eolian name:
Elm.App.View_State.

Replace Elm_App_View_State with Elm.App.View_State in
elm_app_client_view.eo and elm_app_server_view.eo.
This commit is contained in:
Vitor Sousa 2016-01-18 16:20:59 -02:00 committed by Felipe Magno de Almeida
parent 1dd8fbcda9
commit 222f3704b3
4 changed files with 11 additions and 23 deletions

View File

@ -7,7 +7,7 @@ class Elm.App_Client_View (Eo.Base)
[[Get state of view]]
}
values {
state: Elm_App_View_State; [[state of view]]
state: Elm.App.View_State; [[state of view]]
}
}
@property new_events {

View File

@ -1,24 +1,3 @@
/**
* @addtogroup App
*
* @{
*/
/**
* Elm_App_View_State
*/
typedef enum
{
ELM_APP_VIEW_STATE_UNKNOWN = 0,
ELM_APP_VIEW_STATE_LIVE,
ELM_APP_VIEW_STATE_PAUSED,
ELM_APP_VIEW_STATE_CLOSED,
ELM_APP_VIEW_STATE_SHALLOW
} Elm_App_View_State;
/**
* @}
*/
char *_dbus_package_to_path(const char *package);

View File

@ -59,7 +59,7 @@ class Elm.App_Server_View (Eo.Base)
get {
}
values {
ret: Elm_App_View_State;
ret: Elm.App.View_State;
}
}
@property path {

View File

@ -119,3 +119,12 @@ enum Elm.Focus_Direction
left, [[ left direction ]]
}
enum Elm.App.View_State
{
unknown = 0,
live,
paused,
closed,
shallow,
}