Migrate certificates, icons, logs to XDG dirs
[pidgin-git.git] / libpurple / protocols / yahoo / yahoojp.h
blob19251e6d1d21f5e331d53759814ea8433b6a94b8
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
22 #ifndef _YAHOOJP_H_
23 #define _YAHOOJP_H_
25 #include "yahoo.h"
27 #define YAHOOJP_TYPE_PROTOCOL (yahoojp_protocol_get_type())
28 #define YAHOOJP_PROTOCOL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), YAHOOJP_TYPE_PROTOCOL, YahooJPProtocol))
29 #define YAHOOJP_PROTOCOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), YAHOOJP_TYPE_PROTOCOL, YahooJPProtocolClass))
30 #define YAHOOJP_IS_PROTOCOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), YAHOOJP_TYPE_PROTOCOL))
31 #define YAHOOJP_IS_PROTOCOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), YAHOOJP_TYPE_PROTOCOL))
32 #define YAHOOJP_PROTOCOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), YAHOOJP_TYPE_PROTOCOL, YahooJPProtocolClass))
34 typedef struct _YahooJPProtocol
36 YahooProtocol parent;
37 } YahooJPProtocol;
39 typedef struct _YahooJPProtocolClass
41 YahooProtocolClass parent_class;
42 } YahooJPProtocolClass;
44 /**
45 * Registers the YahooJPProtocol type in the type system.
47 void yahoojp_protocol_register_type(PurplePlugin *plugin);
49 /**
50 * Returns the GType for the YahooJPProtocol object.
52 G_MODULE_EXPORT GType yahoojp_protocol_get_type(void);
54 void yahoojp_register_commands(void);
55 void yahoojp_unregister_commands(void);
57 #endif /* _YAHOOJP_H_ */