rename accountopt.[ch] to purpleaccountoption.[ch]
[pidgin-git.git] / libpurple / protocols / jabber / xmpp.h
blob7cf696ac560de3a9bb517e224e3d2011fe6a4447
1 /* purple
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.
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.
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.
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
23 #ifndef PURPLE_JABBER_XMPP_H
24 #define PURPLE_JABBER_XMPP_H
26 #include "jabber.h"
28 #define XMPP_TYPE_PROTOCOL (xmpp_protocol_get_type())
29 #define XMPP_PROTOCOL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), XMPP_TYPE_PROTOCOL, XMPPProtocol))
30 #define XMPP_PROTOCOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), XMPP_TYPE_PROTOCOL, XMPPProtocolClass))
31 #define XMPP_IS_PROTOCOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), XMPP_TYPE_PROTOCOL))
32 #define XMPP_IS_PROTOCOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), XMPP_TYPE_PROTOCOL))
33 #define XMPP_PROTOCOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), XMPP_TYPE_PROTOCOL, XMPPProtocolClass))
35 typedef struct
37 JabberProtocol parent;
38 } XMPPProtocol;
40 typedef struct
42 JabberProtocolClass parent_class;
43 } XMPPProtocolClass;
45 /**
46 * Registers the XMPPProtocol type in the type system.
48 G_GNUC_INTERNAL
49 void xmpp_protocol_register(PurplePlugin *plugin);
51 /**
52 * Returns the GType for the XMPPProtocol object.
54 G_MODULE_EXPORT GType xmpp_protocol_get_type(void);
56 #endif /* PURPLE_JABBER_XMPP_H */