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-05-18 08:16:08 -07:00
|
|
|
ret: free(own(iterator<Elm_App_Client_View *> *), eina_iterator_free); /*@ 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 {
|
2015-05-18 08:16:08 -07:00
|
|
|
ret: const(char)*; /*@ 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 {
|
2015-05-18 08:16:08 -07:00
|
|
|
@in package: const(char)*; /*@ Package of application */
|
2014-08-27 07:44:11 -07:00
|
|
|
}
|
|
|
|
}
|
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-05-18 08:16:08 -07:00
|
|
|
@in args: Eina_Value * @optional; /*@ an array of */
|
|
|
|
@in view_open_cb: Elm_App_Client_Open_View_Cb @optional; /*@ callback to be called when view open */
|
|
|
|
@in data: const(void)* @optional; /*@ calback user data */
|
2014-03-18 07:40:24 -07:00
|
|
|
}
|
2015-05-11 07:25:29 -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 {
|
2015-05-18 08:16:08 -07:00
|
|
|
@in pending: Elm_App_Client_Pending *; /*@ the view open handler */
|
2014-03-18 07:40:24 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
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. */
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|