2014-06-27 15:36:05 -07:00
|
|
|
class Elm_App_Client_View (Eo.Base)
|
2014-03-18 08:37:44 -07:00
|
|
|
{
|
2014-04-03 00:19:03 -07:00
|
|
|
legacy_prefix: null;
|
2014-03-18 08:37:44 -07:00
|
|
|
eo_prefix: elm_app_client_view;
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
|
|
|
@property state {
|
2014-03-18 08:37:44 -07:00
|
|
|
get {
|
|
|
|
/*@ Get state of view */
|
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
state: Elm_App_View_State; /*@ state of view */
|
2014-03-18 08:37:44 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property new_events {
|
2014-03-18 08:37:44 -07:00
|
|
|
get {
|
|
|
|
/*@ Get new events of view */
|
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
events: int; /*@ number of events of view */
|
2014-03-18 08:37:44 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property window {
|
2014-03-18 08:37:44 -07:00
|
|
|
get {
|
|
|
|
/*@ Get window of view */
|
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
window: int; /*@ window of view */
|
2014-03-18 08:37:44 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property icon_pixels {
|
2014-03-18 08:37:44 -07:00
|
|
|
get {
|
|
|
|
/*@ Get icon pixels of view, view could have a icon in raw format not saved in disk. */
|
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
w: uint; /*@ icon width */
|
|
|
|
h: uint; /*@ icon height */
|
|
|
|
has_alpha: bool; /*@ if icon have alpha channel */
|
|
|
|
pixels: const(ubyte)*; /*@ uchar array, with all bytes of icon */
|
2014-03-18 08:37:44 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property path {
|
2014-03-18 08:37:44 -07:00
|
|
|
get {
|
|
|
|
/*@ Get DBus path of view */
|
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
ret: const(char)*; /*@ DBus path of view */
|
2014-03-18 08:37:44 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property package {
|
2014-03-18 08:37:44 -07:00
|
|
|
get {
|
|
|
|
/*@ Get application package */
|
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
ret: const(char)*; /*@ Package of application */
|
2014-03-18 08:37:44 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property icon {
|
2014-03-18 08:37:44 -07:00
|
|
|
get {
|
|
|
|
/*@ Get icon path of view */
|
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
ret: const(char)*; /*@ icon path of view */
|
2014-03-18 08:37:44 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property progress {
|
2014-03-18 08:37:44 -07:00
|
|
|
get {
|
|
|
|
/*@ Get progress of view, should be -1 if there nothing in progress or something between 0-100 */
|
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
progress: ushort; /*@ progress of view */
|
2014-03-18 08:37:44 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property title {
|
2014-03-18 08:37:44 -07:00
|
|
|
get {
|
|
|
|
/*@ Get title of view */
|
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
ret: const(char)*; /*@ title of view */
|
2014-03-18 08:37:44 -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_view */
|
|
|
|
legacy: null;
|
|
|
|
params {
|
2015-05-18 08:16:08 -07:00
|
|
|
@in path: const(char)*; /*@ DBus path of view */
|
2014-08-27 07:44:11 -07:00
|
|
|
}
|
|
|
|
}
|
2014-03-18 08:37:44 -07:00
|
|
|
pause {
|
|
|
|
/*@ Pause view */
|
|
|
|
params {
|
2015-05-18 08:16:08 -07:00
|
|
|
@in cb: Elm_App_Client_View_Cb @optional; /*@ callback to be called when view was paused */
|
|
|
|
@in data: const(void)* @optional; /*@ callback user data */
|
2014-03-18 08:37:44 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
resume {
|
|
|
|
/*@ Resume view */
|
|
|
|
params {
|
2015-05-18 08:16:08 -07:00
|
|
|
@in cb: Elm_App_Client_View_Cb @optional; /*@ callback to be called when view was resumed */
|
|
|
|
@in data: const(void)* @optional; /*@ callback user data */
|
2014-03-18 08:37:44 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
close {
|
|
|
|
/*@ Close view */
|
|
|
|
params {
|
2015-05-18 08:16:08 -07:00
|
|
|
@in cb: Elm_App_Client_View_Cb @optional; /*@ callback to be called when view was closed */
|
|
|
|
@in data: const(void)* @optional; /*@ callback user data */
|
2014-03-18 08:37:44 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
2014-06-27 15:36:05 -07:00
|
|
|
Eo.Base.constructor;
|
|
|
|
Eo.Base.destructor;
|
2014-03-18 08:37:44 -07:00
|
|
|
}
|
2014-09-01 07:57:56 -07:00
|
|
|
constructors {
|
|
|
|
.constructor;
|
|
|
|
}
|
2014-03-18 08:37:44 -07:00
|
|
|
events {
|
|
|
|
state,changed; /*@ State of view changed. */
|
|
|
|
title,changed; /*@ Title of view changed. */
|
|
|
|
icon,changed; /*@ Icon of view changed. */
|
|
|
|
icon,pixels,changed; /*@ Icons pixels of view changed. */
|
|
|
|
new_events,changed; /*@ New events of view changed. */
|
|
|
|
progress,changed; /*@ Progress of view changed. */
|
|
|
|
window,changed; /*@ Window of view changed. */
|
|
|
|
property,changed; /*@ One of view properties changed. */
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|