efl/legacy/elementary/src/lib/elm_app_client.eo

65 lines
2.0 KiB
Plaintext
Raw Normal View History

class Elm_App_Client (Eo.Base)
2014-03-18 07:40:24 -07:00
{
legacy_prefix: null;
2014-03-18 07:40:24 -07:00
eo_prefix: elm_app_client;
2015-05-07 09:32:53 -07:00
methods {
@property views {
2014-03-18 07:40:24 -07:00
get {
/*@ Return a iterator with all views of application. */
}
values {
free(own(iterator<Elm_App_Client_View *> *), eina_iterator_free) ret; /*@ The iterator with all views, must be freed after use */
2014-03-18 07:40:24 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property package {
2014-03-18 07:40:24 -07:00
get {
/*@ Return the application package. */
}
values {
const(char)* ret; /*@ application package */
2014-03-18 07:40:24 -07:00
}
}
2014-09-01 07:57:56 -07:00
constructor {
/*@ Class constructor of elm_app_client. */
legacy: null;
params {
@in const(char)* package; /*@ Package of application */
}
}
2014-03-18 07:40:24 -07:00
view_all_close {
/*@ Close all views of application. */
}
terminate {
/*@ Terminate application. */
}
view_open {
/*@ Open an application view. */
2014-03-18 07:40:24 -07:00
params {
@in Eina_Value *args @optional; /*@ an array of */
@in Elm_App_Client_Open_View_Cb view_open_cb @optional; /*@ callback to be called when view open */
@in const(void)* data @optional; /*@ calback user data */
2014-03-18 07:40:24 -07:00
}
return: Elm_App_Client_Pending *; /* handler to cancel the view opening if it takes to long */
2014-03-18 07:40:24 -07:00
}
view_open_cancel {
/*@ Cancel a pending elm_app_client_view_open(). */
params {
@in Elm_App_Client_Pending *pending; /*@ the view open handler */
}
}
}
implements {
Eo.Base.destructor;
2014-03-18 07:40:24 -07:00
}
2014-09-01 07:57:56 -07:00
constructors {
.constructor;
}
2014-03-18 07:40:24 -07:00
events {
view,created; /*@ Called when a view of this application is created. */
view,deleted; /*@ Called when a view of this application is deleted. */
view_list,loaded; /*@ Called when list of view is loaded. */
application,terminated; /*@ Called when application is terminated. */
}
}