libpurple/protocols/null/nullprpl.h

Wed, 21 Apr 2021 18:45:53 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Wed, 21 Apr 2021 18:45:53 -0500
changeset 40865
82e45cd837fa
parent 39877
4bc87b3dbca4
permissions
-rw-r--r--

Migrate gg, novel, null, sametime, silc, and zephyr to using G_DECLARE_FINAL_TYPE for their protocol objects

Testing Done:
Compile only.

Reviewed at https://reviews.imfreedom.org/r/620/

39877
4bc87b3dbca4 Get the null prpl working again and build it by default but don't install it
Gary Kramlich <grim@reaperworld.com>
parents: 39819
diff changeset
1 /*
4bc87b3dbca4 Get the null prpl working again and build it by default but don't install it
Gary Kramlich <grim@reaperworld.com>
parents: 39819
diff changeset
2 * purple
36589
4a12e889d1fd Refactored nullprotocol (renamed from nullprpl) to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
diff changeset
3 *
4a12e889d1fd Refactored nullprotocol (renamed from nullprpl) to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
diff changeset
4 * Purple is the legal property of its developers, whose names are too numerous
4a12e889d1fd Refactored nullprotocol (renamed from nullprpl) to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
diff changeset
5 * to list here. Please refer to the COPYRIGHT file distributed with this
4a12e889d1fd Refactored nullprotocol (renamed from nullprpl) to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
diff changeset
6 * source distribution.
4a12e889d1fd Refactored nullprotocol (renamed from nullprpl) to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
diff changeset
7 *
4a12e889d1fd Refactored nullprotocol (renamed from nullprpl) to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
diff changeset
8 * This program is free software; you can redistribute it and/or modify
4a12e889d1fd Refactored nullprotocol (renamed from nullprpl) to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
diff changeset
9 * it under the terms of the GNU General Public License as published by
4a12e889d1fd Refactored nullprotocol (renamed from nullprpl) to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
diff changeset
10 * the Free Software Foundation; either version 2 of the License, or
4a12e889d1fd Refactored nullprotocol (renamed from nullprpl) to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
diff changeset
11 * (at your option) any later version.
4a12e889d1fd Refactored nullprotocol (renamed from nullprpl) to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
diff changeset
12 *
4a12e889d1fd Refactored nullprotocol (renamed from nullprpl) to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
diff changeset
13 * This program is distributed in the hope that it will be useful,
4a12e889d1fd Refactored nullprotocol (renamed from nullprpl) to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
4a12e889d1fd Refactored nullprotocol (renamed from nullprpl) to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4a12e889d1fd Refactored nullprotocol (renamed from nullprpl) to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
diff changeset
16 * GNU General Public License for more details.
4a12e889d1fd Refactored nullprotocol (renamed from nullprpl) to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
diff changeset
17 *
4a12e889d1fd Refactored nullprotocol (renamed from nullprpl) to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
diff changeset
18 * You should have received a copy of the GNU General Public License
4a12e889d1fd Refactored nullprotocol (renamed from nullprpl) to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
diff changeset
19 * along with this program; if not, write to the Free Software
4a12e889d1fd Refactored nullprotocol (renamed from nullprpl) to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
diff changeset
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
4a12e889d1fd Refactored nullprotocol (renamed from nullprpl) to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
diff changeset
21 *
4a12e889d1fd Refactored nullprotocol (renamed from nullprpl) to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
diff changeset
22 */
39819
3554dac2991b Standardize all protocol header guard macros.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39556
diff changeset
23
3554dac2991b Standardize all protocol header guard macros.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39556
diff changeset
24 #ifndef PURPLE_NULL_NULLPRPL_H
3554dac2991b Standardize all protocol header guard macros.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39556
diff changeset
25 #define PURPLE_NULL_NULLPRPL_H
36589
4a12e889d1fd Refactored nullprotocol (renamed from nullprpl) to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
diff changeset
26
39877
4bc87b3dbca4 Get the null prpl working again and build it by default but don't install it
Gary Kramlich <grim@reaperworld.com>
parents: 39819
diff changeset
27 #include <purple.h>
36589
4a12e889d1fd Refactored nullprotocol (renamed from nullprpl) to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
diff changeset
28
40865
82e45cd837fa Migrate gg, novel, null, sametime, silc, and zephyr to using G_DECLARE_FINAL_TYPE for their protocol objects
Gary Kramlich <grim@reaperworld.com>
parents: 39877
diff changeset
29 #define NULL_TYPE_PROTOCOL (null_protocol_get_type())
82e45cd837fa Migrate gg, novel, null, sametime, silc, and zephyr to using G_DECLARE_FINAL_TYPE for their protocol objects
Gary Kramlich <grim@reaperworld.com>
parents: 39877
diff changeset
30 G_DECLARE_FINAL_TYPE(NullProtocol, null_protocol, NULL, PROTOCOL,
82e45cd837fa Migrate gg, novel, null, sametime, silc, and zephyr to using G_DECLARE_FINAL_TYPE for their protocol objects
Gary Kramlich <grim@reaperworld.com>
parents: 39877
diff changeset
31 PurpleProtocol)
36589
4a12e889d1fd Refactored nullprotocol (renamed from nullprpl) to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
diff changeset
32
39819
3554dac2991b Standardize all protocol header guard macros.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39556
diff changeset
33 #endif /* PURPLE_NULL_NULLPRPL_H */

mercurial