File: meta-dbus-x11.h

package info (click to toggle)
chromium 138.0.7204.183-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 6,071,908 kB
  • sloc: cpp: 34,937,088; ansic: 7,176,967; javascript: 4,110,704; python: 1,419,953; asm: 946,768; xml: 739,971; pascal: 187,324; sh: 89,623; perl: 88,663; objc: 79,944; sql: 50,304; cs: 41,786; fortran: 24,137; makefile: 21,806; php: 13,980; tcl: 13,166; yacc: 8,925; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (159 lines) | stat: -rw-r--r-- 6,180 bytes parent folder | download | duplicates (6)
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
/*
 * This file is generated by gdbus-codegen, do not modify it.
 *
 * The license of this code is the same as for the D-Bus interface description
 * it was derived from. Note that it links to GLib, so must comply with the
 * LGPL linking clauses.
 */

#ifndef __META_DBUS_X11_H__
#define __META_DBUS_X11_H__

#include <gio/gio.h>

G_BEGIN_DECLS

/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.Mutter.X11 */

#define META_DBUS_TYPE_X11 (meta_dbus_x11_get_type())
#define META_DBUS_X11(o) \
  (G_TYPE_CHECK_INSTANCE_CAST((o), META_DBUS_TYPE_X11, MetaDBusX11))
#define META_DBUS_IS_X11(o) \
  (G_TYPE_CHECK_INSTANCE_TYPE((o), META_DBUS_TYPE_X11))
#define META_DBUS_X11_GET_IFACE(o) \
  (G_TYPE_INSTANCE_GET_INTERFACE((o), META_DBUS_TYPE_X11, MetaDBusX11Iface))

struct _MetaDBusX11;
typedef struct _MetaDBusX11 MetaDBusX11;
typedef struct _MetaDBusX11Iface MetaDBusX11Iface;

struct _MetaDBusX11Iface {
  GTypeInterface parent_iface;

  gint (*get_ui_scaling_factor)(MetaDBusX11* object);
};

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(MetaDBusX11, g_object_unref)
#endif

GType meta_dbus_x11_get_type(void) G_GNUC_CONST;

GDBusInterfaceInfo* meta_dbus_x11_interface_info(void);
guint meta_dbus_x11_override_properties(GObjectClass* klass,
                                        guint property_id_begin);

/* D-Bus property accessors: */
gint meta_dbus_x11_get_ui_scaling_factor(MetaDBusX11* object);
void meta_dbus_x11_set_ui_scaling_factor(MetaDBusX11* object, gint value);

/* ---- */

#define META_DBUS_TYPE_X11_PROXY (meta_dbus_x11_proxy_get_type())
#define META_DBUS_X11_PROXY(o) \
  (G_TYPE_CHECK_INSTANCE_CAST((o), META_DBUS_TYPE_X11_PROXY, MetaDBusX11Proxy))
#define META_DBUS_X11_PROXY_CLASS(k)                      \
  (G_TYPE_CHECK_CLASS_CAST((k), META_DBUS_TYPE_X11_PROXY, \
                           MetaDBusX11ProxyClass))
#define META_DBUS_X11_PROXY_GET_CLASS(o)                    \
  (G_TYPE_INSTANCE_GET_CLASS((o), META_DBUS_TYPE_X11_PROXY, \
                             MetaDBusX11ProxyClass))
#define META_DBUS_IS_X11_PROXY(o) \
  (G_TYPE_CHECK_INSTANCE_TYPE((o), META_DBUS_TYPE_X11_PROXY))
#define META_DBUS_IS_X11_PROXY_CLASS(k) \
  (G_TYPE_CHECK_CLASS_TYPE((k), META_DBUS_TYPE_X11_PROXY))

typedef struct _MetaDBusX11Proxy MetaDBusX11Proxy;
typedef struct _MetaDBusX11ProxyClass MetaDBusX11ProxyClass;
typedef struct _MetaDBusX11ProxyPrivate MetaDBusX11ProxyPrivate;

struct _MetaDBusX11Proxy {
  /*< private >*/
  GDBusProxy parent_instance;
  MetaDBusX11ProxyPrivate* priv;
};

struct _MetaDBusX11ProxyClass {
  GDBusProxyClass parent_class;
};

GType meta_dbus_x11_proxy_get_type(void) G_GNUC_CONST;

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(MetaDBusX11Proxy, g_object_unref)
#endif

void meta_dbus_x11_proxy_new(GDBusConnection* connection,
                             GDBusProxyFlags flags,
                             const gchar* name,
                             const gchar* object_path,
                             GCancellable* cancellable,
                             GAsyncReadyCallback callback,
                             gpointer user_data);
MetaDBusX11* meta_dbus_x11_proxy_new_finish(GAsyncResult* res, GError** error);
MetaDBusX11* meta_dbus_x11_proxy_new_sync(GDBusConnection* connection,
                                          GDBusProxyFlags flags,
                                          const gchar* name,
                                          const gchar* object_path,
                                          GCancellable* cancellable,
                                          GError** error);

void meta_dbus_x11_proxy_new_for_bus(GBusType bus_type,
                                     GDBusProxyFlags flags,
                                     const gchar* name,
                                     const gchar* object_path,
                                     GCancellable* cancellable,
                                     GAsyncReadyCallback callback,
                                     gpointer user_data);
MetaDBusX11* meta_dbus_x11_proxy_new_for_bus_finish(GAsyncResult* res,
                                                    GError** error);
MetaDBusX11* meta_dbus_x11_proxy_new_for_bus_sync(GBusType bus_type,
                                                  GDBusProxyFlags flags,
                                                  const gchar* name,
                                                  const gchar* object_path,
                                                  GCancellable* cancellable,
                                                  GError** error);

/* ---- */

#define META_DBUS_TYPE_X11_SKELETON (meta_dbus_x11_skeleton_get_type())
#define META_DBUS_X11_SKELETON(o)                               \
  (G_TYPE_CHECK_INSTANCE_CAST((o), META_DBUS_TYPE_X11_SKELETON, \
                              MetaDBusX11Skeleton))
#define META_DBUS_X11_SKELETON_CLASS(k)                      \
  (G_TYPE_CHECK_CLASS_CAST((k), META_DBUS_TYPE_X11_SKELETON, \
                           MetaDBusX11SkeletonClass))
#define META_DBUS_X11_SKELETON_GET_CLASS(o)                    \
  (G_TYPE_INSTANCE_GET_CLASS((o), META_DBUS_TYPE_X11_SKELETON, \
                             MetaDBusX11SkeletonClass))
#define META_DBUS_IS_X11_SKELETON(o) \
  (G_TYPE_CHECK_INSTANCE_TYPE((o), META_DBUS_TYPE_X11_SKELETON))
#define META_DBUS_IS_X11_SKELETON_CLASS(k) \
  (G_TYPE_CHECK_CLASS_TYPE((k), META_DBUS_TYPE_X11_SKELETON))

typedef struct _MetaDBusX11Skeleton MetaDBusX11Skeleton;
typedef struct _MetaDBusX11SkeletonClass MetaDBusX11SkeletonClass;
typedef struct _MetaDBusX11SkeletonPrivate MetaDBusX11SkeletonPrivate;

struct _MetaDBusX11Skeleton {
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  MetaDBusX11SkeletonPrivate* priv;
};

struct _MetaDBusX11SkeletonClass {
  GDBusInterfaceSkeletonClass parent_class;
};

GType meta_dbus_x11_skeleton_get_type(void) G_GNUC_CONST;

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(MetaDBusX11Skeleton, g_object_unref)
#endif

MetaDBusX11* meta_dbus_x11_skeleton_new(void);

G_END_DECLS

#endif /* __META_DBUS_X11_H__ */