blob: dfd922f1650ed5741491a23930aa8c59b603d1e4 (
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
|
/*
* a stub anonymous MUC
*
* Copyright (C) 2008 Collabora Ltd. <http://www.collabora.co.uk/>
* Copyright (C) 2008 Nokia Corporation
*
* Copying and distribution of this file, with or without modification,
* are permitted in any medium without royalty provided the copyright
* notice and this notice are preserved.
*/
#ifndef __TEST_TEXT_CHANNEL_GROUP_H__
#define __TEST_TEXT_CHANNEL_GROUP_H__
#include <glib-object.h>
#include <telepathy-glib/telepathy-glib.h>
G_BEGIN_DECLS
typedef struct _TpTestsTextChannelGroup TpTestsTextChannelGroup;
typedef struct _TpTestsTextChannelGroupClass TpTestsTextChannelGroupClass;
typedef struct _TpTestsTextChannelGroupPrivate TpTestsTextChannelGroupPrivate;
GType tp_tests_text_channel_group_get_type (void);
#define TP_TESTS_TYPE_TEXT_CHANNEL_GROUP \
(tp_tests_text_channel_group_get_type ())
#define TP_TESTS_TEXT_CHANNEL_GROUP(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), TP_TESTS_TYPE_TEXT_CHANNEL_GROUP, \
TpTestsTextChannelGroup))
#define TP_TESTS_TEXT_CHANNEL_GROUP_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST ((klass), TP_TESTS_TYPE_TEXT_CHANNEL_GROUP, \
TpTestsTextChannelGroupClass))
#define TEST_IS_TEXT_CHANNEL_GROUP(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), TP_TESTS_TYPE_TEXT_CHANNEL_GROUP))
#define TEST_IS_TEXT_CHANNEL_GROUP_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE ((klass), TP_TESTS_TYPE_TEXT_CHANNEL_GROUP))
#define TP_TESTS_TEXT_CHANNEL_GROUP_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), TP_TESTS_TYPE_TEXT_CHANNEL_GROUP, \
TpTestsTextChannelGroupClass))
struct _TpTestsTextChannelGroupClass {
TpBaseChannelClass parent_class;
TpTextMixinClass text_class;
TpGroupMixinClass group_class;
TpDBusPropertiesMixinClass dbus_properties_class;
};
struct _TpTestsTextChannelGroup {
TpBaseChannel parent;
TpBaseConnection *conn;
TpTextMixin text;
TpGroupMixin group;
TpHandle removed_handle;
gchar *removed_message;
TpChannelGroupChangeReason removed_reason;
TpTestsTextChannelGroupPrivate *priv;
};
void tp_tests_text_channel_group_join (TpTestsTextChannelGroup *self);
void tp_tests_text_channel_set_password (TpTestsTextChannelGroup *self,
const gchar *password);
G_END_DECLS
#endif /* #ifndef __TEST_TEXT_CHANNEL_GROUP_H__ */
|