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
|
#ifndef __GEDIT_MESSAGE_TYPE_H__
#define __GEDIT_MESSAGE_TYPE_H__
#include <glib-object.h>
#include <stdarg.h>
#include "gedit-message.h"
G_BEGIN_DECLS
#define GEDIT_TYPE_MESSAGE_TYPE (gedit_message_type_get_type ())
#define GEDIT_MESSAGE_TYPE(x) ((GeditMessageType *)(x))
typedef void (*GeditMessageTypeForeach) (const gchar *key,
GType type,
gboolean required,
gpointer user_data);
typedef struct _GeditMessageType GeditMessageType;
GType gedit_message_type_get_type (void) G_GNUC_CONST;
gboolean gedit_message_type_is_supported (GType type);
gchar *gedit_message_type_identifier (const gchar *object_path,
const gchar *method);
gboolean gedit_message_type_is_valid_object_path (const gchar *object_path);
GeditMessageType *gedit_message_type_new (const gchar *object_path,
const gchar *method,
guint num_optional,
...) G_GNUC_NULL_TERMINATED;
GeditMessageType *gedit_message_type_new_valist (const gchar *object_path,
const gchar *method,
guint num_optional,
va_list va_args);
void gedit_message_type_set (GeditMessageType *message_type,
guint num_optional,
...) G_GNUC_NULL_TERMINATED;
void gedit_message_type_set_valist (GeditMessageType *message_type,
guint num_optional,
va_list va_args);
GeditMessageType *gedit_message_type_ref (GeditMessageType *message_type);
void gedit_message_type_unref (GeditMessageType *message_type);
GeditMessage *gedit_message_type_instantiate_valist (GeditMessageType *message_type,
va_list va_args);
GeditMessage *gedit_message_type_instantiate (GeditMessageType *message_type,
...) G_GNUC_NULL_TERMINATED;
const gchar *gedit_message_type_get_object_path (GeditMessageType *message_type);
const gchar *gedit_message_type_get_method (GeditMessageType *message_type);
GType gedit_message_type_lookup (GeditMessageType *message_type,
const gchar *key);
void gedit_message_type_foreach (GeditMessageType *message_type,
GeditMessageTypeForeach func,
gpointer user_data);
G_END_DECLS
#endif /* __GEDIT_MESSAGE_TYPE_H__ */
// ex:ts=8:noet:
|