qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
src
platform
statusnotifier
interfaces.h
Go to the documentation of this file.
1
/*
2
* statusnotifier - Copyright (C) 2014 Olivier Brunel
3
*
4
* interfaces.h
5
* Copyright (C) 2014 Olivier Brunel <jjk@jjacky.com>
6
*
7
* This file is part of statusnotifier.
8
*
9
* statusnotifier is free software: you can redistribute it and/or modify it
10
* under the terms of the GNU General Public License as published by the Free
11
* Software Foundation, either version 3 of the License, or (at your option) any
12
* later version.
13
*
14
* statusnotifier is distributed in the hope that it will be useful, but WITHOUT
15
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16
* FOR A PARTICULAR PURPOSE.
17
* See the GNU General Public License for more details.
18
*
19
* You should have received a copy of the GNU General Public License along with
20
* statusnotifier. If not, see http://www.gnu.org/licenses/
21
*/
22
23
#pragma once
24
25
G_BEGIN_DECLS
26
27
#define WATCHER_NAME "org.kde.StatusNotifierWatcher"
28
#define WATCHER_OBJECT "/StatusNotifierWatcher"
29
#define WATCHER_INTERFACE "org.kde.StatusNotifierWatcher"
30
31
#define ITEM_NAME "org.kde.StatusNotifierItem"
32
#define ITEM_OBJECT "/StatusNotifierItem"
33
#define ITEM_INTERFACE "org.kde.StatusNotifierItem"
34
35
static
const
gchar watcher_xml[] =
36
"<node>"
37
" <interface name='org.kde.StatusNotifierWatcher'>"
38
" <property name='IsStatusNotifierHostRegistered' type='b' access='read' />"
39
" <method name='RegisterStatusNotifierItem'>"
40
" <arg name='service' type='s' direction='in' />"
41
" </method>"
42
" <signal name='StatusNotifierHostRegistered' />"
43
" <signal name='StatusNotifierHostUnregistered' />"
44
" </interface>"
45
"</node>"
;
46
47
48
static
const
gchar item_xml[] =
49
"<node>"
50
" <interface name='org.kde.StatusNotifierItem'>"
51
" <property name='Id' type='s' access='read' />"
52
" <property name='Category' type='s' access='read' />"
53
" <property name='Title' type='s' access='read' />"
54
" <property name='Status' type='s' access='read' />"
55
" <property name='WindowId' type='i' access='read' />"
56
" <property name='IconName' type='s' access='read' />"
57
" <property name='IconPixmap' type='(iiay)' access='read' />"
58
" <property name='OverlayIconName' type='s' access='read' />"
59
" <property name='OverlayIconPixmap' type='(iiay)' access='read' />"
60
" <property name='AttentionIconName' type='s' access='read' />"
61
" <property name='AttentionIconPixmap' type='(iiay)' access='read' />"
62
" <property name='AttentionMovieName' type='s' access='read' />"
63
" <property name='ToolTip' type='(s(iiay)ss)' access='read' />"
64
" <method name='ContextMenu'>"
65
" <arg name='x' type='i' direction='in' />"
66
" <arg name='y' type='i' direction='in' />"
67
" </method>"
68
" <method name='Activate'>"
69
" <arg name='x' type='i' direction='in' />"
70
" <arg name='y' type='i' direction='in' />"
71
" </method>"
72
" <method name='SecondaryActivate'>"
73
" <arg name='x' type='i' direction='in' />"
74
" <arg name='y' type='i' direction='in' />"
75
" </method>"
76
" <method name='Scroll'>"
77
" <arg name='delta' type='i' direction='in' />"
78
" <arg name='orientation' type='s' direction='in' />"
79
" </method>"
80
" <signal name='NewTitle' />"
81
" <signal name='NewIcon' />"
82
" <signal name='NewAttentionIcon' />"
83
" <signal name='NewOverlayIcon' />"
84
" <signal name='NewToolTip' />"
85
" <signal name='NewStatus'>"
86
" <arg name='status' type='s' />"
87
" </signal>"
88
" </interface>"
89
"</node>"
;
90
91
G_END_DECLS
Generated by
1.8.17