summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_sys_notify.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_sys_notify.eo')
-rw-r--r--src/lib/elementary/elm_sys_notify.eo96
1 files changed, 0 insertions, 96 deletions
diff --git a/src/lib/elementary/elm_sys_notify.eo b/src/lib/elementary/elm_sys_notify.eo
deleted file mode 100644
index cf557a0..0000000
--- a/src/lib/elementary/elm_sys_notify.eo
+++ /dev/null
@@ -1,96 +0,0 @@
1enum Elm.Sys_Notify.Server
2{
3 [[System notification server types]]
4 none = 0, [[No notificationserver (disables notifications)]]
5 dbus = 1 << 0 [[Use DBus as a notification server]]
6}
7
8enum Elm.Sys_Notify.Closed_Reason
9{
10 [[The reason the notification was closed
11
12 @since 1.8
13 ]]
14
15 legacy: elm_sys_notify_closed;
16
17 expired, [[The notification expired]]
18 dismissed, [[The notification was dismissed by the user]]
19 requested, [[The notification was closed by a call to CloseNotification method]]
20 undefined [[Undefined/reserved reasons]]
21}
22
23struct Elm.Sys_Notify.Notification_Closed
24{
25 [[Data on event when notification closed is emitted
26
27 @since 1.8
28 ]]
29 id: uint; [[ID of the notification]]
30 reason: Elm.Sys_Notify.Closed_Reason; [[The reason the notification was closed]]
31}
32
33struct Elm.Sys_Notify.Action_Invoked
34{
35 [[Data on event when the action invoked is emitted
36
37 @since 1.8
38 ]]
39 id: uint; [[ID of the notification]]
40 action_key: ptr(char); [[The key of the action invoked. These match the
41 keys sent over in the list of actions]]
42}
43
44class Elm.Sys_Notify extends Efl.Object implements Elm.Sys_Notify_Interface
45{
46 [[Elementary system notification class]]
47 legacy_prefix: elm_sys_notify;
48 eo_prefix: elm_obj_sys_notify;
49
50 methods {
51 @property servers {
52 get {
53 [[Get the notification servers that have been registered
54
55 @since 1.17
56 ]]
57 }
58 set {
59 [[Set the notifications server to be used.
60
61 Note: This is an advanced function that should be used only to
62 fullfill very specific purposes. Use elm_need_sys_notify()
63 which activates the default available notification
64 servers.
65
66 @since 1.17
67 ]]
68 return: bool; [[$true on success, $false on failure]]
69 }
70 values {
71 servers: Elm.Sys_Notify.Server; [[Binary mask of servers to enable.
72 If a server is not present in the binary mask but was previously
73 registered, it will be unregistered.]]
74 }
75 }
76
77 singleton_get @class {
78 [[Returns the singleton instance of the notification manager
79 Elm.Sys_Notify. It is initialized upon the first call of this
80 function
81
82 @since 1.17
83 ]]
84 return: Elm.Sys_Notify; [[The unique notification manager]]
85 }
86 }
87
88 implements {
89 class.constructor;
90 Efl.Object.constructor;
91 Efl.Object.destructor;
92 Elm.Sys_Notify_Interface.send;
93 Elm.Sys_Notify_Interface.simple_send;
94 Elm.Sys_Notify_Interface.close;
95 }
96}