summaryrefslogtreecommitdiff
path: root/src/lib/elm_app_client_view.eo
blob: fcc09b0d112bac23ec3d0e7f0d5d5a29db71c390 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
class Elm_App_Client_View (Eo.Base)
{
   legacy_prefix: null;
   eo_prefix: elm_app_client_view;
   constructors {
      constructor {
         /*@ Class constructor of elm_app_client_view */
         params {
            @in const char *path; /*@ DBus path of view */
         }
      }
   }
   properties {
      state {
         get {
            /*@ Get state of view */
         }
         values {
            Elm_App_View_State state; /*@ state of view */
         }
      }
      new_events {
         get {
            /*@ Get new events of view */
         }
         values {
            int events; /*@ number of events of view */
         }
      }
      window {
         get {
            /*@ Get window of view */
         }
         values {
            int window; /*@ window of view */
         }
      }
      icon_pixels {
         get {
            /*@ Get icon pixels of view, view could have a icon in raw format not saved in disk. */
         }
         values {
            unsigned int w; /*@ icon width */
            unsigned int h; /*@ icon height */
            Eina_Bool has_alpha; /*@ if icon have alpha channel */
            const unsigned char *pixels; /*@ unsigned char array, with all bytes of icon */
         }
      }
      path {
         get {
            /*@ Get DBus path of view */
         }
         values {
            const char *ret; /*@ DBus path of view */
         }
      }
      package {
         get {
            /*@ Get application package */
         }
         values {
            const char *ret; /*@ Package of application */
         }
      }
      icon {
         get {
            /*@ Get icon path of view */
         }
         values {
            const char *ret; /*@ icon path of view */
         }
      }
      progress {
         get {
            /*@ Get progress of view, should be -1 if there nothing in progress or something between 0-100 */
         }
         values {
            unsigned short progress; /*@ progress of view */
         }
      }
      title {
         get {
            /*@ Get title of view */
         }
         values {
            const char *ret; /*@ title of view */
         }
      }
   }
   methods {
      pause {
         /*@ Pause view */
         params {
            @in Elm_App_Client_View_Cb cb; /*@ callback to be called when view was paused */
            @in const void *data; /*@ callback user data */
         }
      }
      resume {
         /*@ Resume view */
         params {
            @in Elm_App_Client_View_Cb cb; /*@ callback to be called when view was resumed */
            @in const void *data; /*@ callback user data */
         }
      }
      close {
         /*@ Close view */
         params {
            @in Elm_App_Client_View_Cb cb; /*@ callback to be called when view was closed */
            @in const void *data; /*@ callback user data */
         }
      }
   }
   implements {
      Eo.Base.constructor;
      Eo.Base.destructor;
   }
   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. */
   }

}