Wed, 21 Apr 2021 18:45:53 -0500
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/
|
39819
3554dac2991b
Standardize all protocol header guard macros.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39556
diff
changeset
|
1 | #ifndef PURPLE_SAMETIME_SAMETIME_H |
|
3554dac2991b
Standardize all protocol header guard macros.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39556
diff
changeset
|
2 | #define PURPLE_SAMETIME_SAMETIME_H |
| 10977 | 3 | |
|
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:
39819
diff
changeset
|
4 | #define MW_TYPE_PROTOCOL (mw_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:
39819
diff
changeset
|
5 | G_DECLARE_FINAL_TYPE(mwProtocol, mw_protocol, MW, PROTOCOL, PurpleProtocol) |
| 10977 | 6 | |
| 7 | /* CFLAGS trumps configure values */ | |
| 8 | ||
| 9 | ||
| 15884 | 10 | /** default host for the purple plugin. You can specialize a build to |
| 10977 | 11 | default to your server by supplying this at compile time */ |
| 12 | #ifndef MW_PLUGIN_DEFAULT_HOST | |
| 13 | #define MW_PLUGIN_DEFAULT_HOST "" | |
| 14 | #endif | |
| 15 | /* "" */ | |
| 16 | ||
| 17 | ||
| 15884 | 18 | /** default port for the purple plugin. You can specialize a build to |
| 10977 | 19 | default to your server by supplying this at compile time */ |
| 20 | #ifndef MW_PLUGIN_DEFAULT_PORT | |
| 21 | #define MW_PLUGIN_DEFAULT_PORT 1533 | |
| 22 | #endif | |
| 23 | /* 1533 */ | |
| 24 | ||
| 25 | ||
| 15884 | 26 | /** default encoding for the purple plugin.*/ |
|
11943
81ee4bc13c28
[gaim-migrate @ 14234]
Christopher O'Brien <siege@pidgin.im>
parents:
10977
diff
changeset
|
27 | #ifndef MW_PLUGIN_DEFAULT_ENCODING |
|
81ee4bc13c28
[gaim-migrate @ 14234]
Christopher O'Brien <siege@pidgin.im>
parents:
10977
diff
changeset
|
28 | #define MW_PLUGIN_DEFAULT_ENCODING "ISO-8859-1" |
|
81ee4bc13c28
[gaim-migrate @ 14234]
Christopher O'Brien <siege@pidgin.im>
parents:
10977
diff
changeset
|
29 | #endif |
|
81ee4bc13c28
[gaim-migrate @ 14234]
Christopher O'Brien <siege@pidgin.im>
parents:
10977
diff
changeset
|
30 | /* ISO-8859-1 */ |
|
36592
431166bcb802
Refactored sametime to use the new protocol API
Ankit Vani <a@nevitus.org>
parents:
15884
diff
changeset
|
31 | |
|
39819
3554dac2991b
Standardize all protocol header guard macros.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39556
diff
changeset
|
32 | #endif /* PURPLE_SAMETIME_SAMETIME_H */ |