| 16 * |
16 * |
| 17 * You should have received a copy of the GNU General Public License |
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 |
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 |
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 20 */ |
20 */ |
| |
21 |
| |
22 #ifndef _PURPLE_PROTOCOL_H_ |
| |
23 #define _PURPLE_PROTOCOL_H_ |
| 21 /** |
24 /** |
| 22 * SECTION:protocol |
25 * SECTION:protocol |
| 23 * @section_id: libpurple-protocol |
26 * @section_id: libpurple-protocol |
| 24 * @short_description: <filename>protocol.h</filename> |
27 * @short_description: <filename>protocol.h</filename> |
| 25 * @title: Protocol Object and Interfaces |
28 * @title: Protocol Object and Interfaces |
| 26 */ |
29 */ |
| 27 |
|
| 28 #ifndef _PURPLE_PROTOCOL_H_ |
|
| 29 #define _PURPLE_PROTOCOL_H_ |
|
| 30 |
30 |
| 31 #define PURPLE_TYPE_PROTOCOL (purple_protocol_get_type()) |
31 #define PURPLE_TYPE_PROTOCOL (purple_protocol_get_type()) |
| 32 #define PURPLE_PROTOCOL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PURPLE_TYPE_PROTOCOL, PurpleProtocol)) |
32 #define PURPLE_PROTOCOL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PURPLE_TYPE_PROTOCOL, PurpleProtocol)) |
| 33 #define PURPLE_PROTOCOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PURPLE_TYPE_PROTOCOL, PurpleProtocolClass)) |
33 #define PURPLE_PROTOCOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PURPLE_TYPE_PROTOCOL, PurpleProtocolClass)) |
| 34 #define PURPLE_IS_PROTOCOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PURPLE_TYPE_PROTOCOL)) |
34 #define PURPLE_IS_PROTOCOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PURPLE_TYPE_PROTOCOL)) |