2014-06-27 15:36:05 -07:00
|
|
|
class Elm_App_Client (Eo.Base)
|
2014-03-18 07:40:24 -07:00
|
|
|
{
|
2014-04-03 00:19:03 -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 {
|
2015-04-23 03:46:48 -07:00
|
|
|
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 {
|
2014-06-26 05:24:20 -07:00
|
|
|
const(char)* ret; /*@ application package */
|
2014-03-18 07:40:24 -07:00
|
|
|
}
|
|
|
|
}
|
2014-09-01 07:57:56 -07:00
|
|
|
constructor {
|
2014-08-27 07:44:11 -07:00
|
|
|
/*@ 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 {
|
2014-10-13 05:50:22 -07:00
|
|
|
/*@ Open an application view. */
|
2014-03-18 07:40:24 -07:00
|
|
|
params {
|
2015-04-23 03:46:48 -07:00
|
|
|
@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
|
|
|
}
|
2014-08-11 07:46:11 -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 {
|
2014-06-27 15:36:05 -07:00
|
|
|
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. */
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|