libpurple/protocols/zephyr/zephyr.h

branch
soc.2013.gobjectification.plugins
changeset 36600
c7d2eee19333
child 36628
3d43ca8d69ee
equal deleted inserted replaced
36599:749b765ca386 36600:c7d2eee19333
1 /* purple
2 *
3 * Purple is the legal property of its developers, whose names are too numerous
4 * to list here. Please refer to the COPYRIGHT file distributed with this
5 * source distribution.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
20 *
21 */
22 #ifndef _ZEPHYR_H_
23 #define _ZEPHYR_H_
24
25 #include "protocol.h"
26
27 #define ZEPHYR_ID "prpl-zephyr"
28 #define ZEPHYR_NAME "Zephyr"
29 #define ZEPHYR_DOMAIN (g_quark_from_static_string(ZEPHYR_ID))
30
31 #define ZEPHYR_TYPE_PROTOCOL (zephyr_protocol_get_type())
32 #define ZEPHYR_PROTOCOL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ZEPHYR_TYPE_PROTOCOL, ZephyrProtocol))
33 #define ZEPHYR_PROTOCOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ZEPHYR_TYPE_PROTOCOL, ZephyrProtocolClass))
34 #define ZEPHYR_IS_PROTOCOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ZEPHYR_TYPE_PROTOCOL))
35 #define ZEPHYR_IS_PROTOCOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ZEPHYR_TYPE_PROTOCOL))
36 #define ZEPHYR_PROTOCOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ZEPHYR_TYPE_PROTOCOL, ZephyrProtocolClass))
37
38 typedef struct _ZephyrProtocol
39 {
40 PurpleProtocol parent;
41 } ZephyrProtocol;
42
43 typedef struct _ZephyrProtocolClass
44 {
45 PurpleProtocolClass parent_class;
46 } ZephyrProtocolClass;
47
48 /**
49 * Returns the GType for the ZephyrProtocol object.
50 */
51 GType zephyr_protocol_get_type(void);
52
53 #endif /* _ZEPHYR_H_ */

mercurial