Sun, 10 Aug 2025 23:53:22 +0800
Various improvement, Support configuration from UI
| 0 | 1 | /* |
| 2 | * Purple Satori Plugin - Satori Protocol Plugin for Purple3 | |
| 3 | * Copyright (C) 2025 Gong Zhile | |
| 4 | * | |
| 5 | * This library is free software; you can redistribute it and/or | |
| 6 | * modify it under the terms of the GNU Lesser General Public | |
| 7 | * License as published by the Free Software Foundation; either | |
| 8 | * version 2 of the License, or (at your option) any later version. | |
| 9 | * | |
| 10 | * This library is distributed in the hope that it will be useful, | |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | * Lesser General Public License for more details. | |
| 14 | * | |
| 15 | * You should have received a copy of the GNU Lesser General Public | |
| 16 | * License along with this library; if not, see <https://www.gnu.org/licenses/>. | |
| 17 | */ | |
| 18 | ||
| 19 | #ifndef PURPLE_SATORI_PROTOCOL_H | |
| 20 | #define PURPLE_SATORI_PROTOCOL_H | |
| 21 | ||
| 22 | #include <glib.h> | |
| 23 | #include <glib-object.h> | |
| 24 | ||
| 25 | #include <gplugin-native.h> | |
| 26 | ||
| 27 | #include <purple.h> | |
| 28 | ||
| 29 | G_BEGIN_DECLS | |
| 30 | ||
| 31 | #define PURPLE_SATORI_TYPE_PROTOCOL (purple_satori_protocol_get_type()) | |
| 32 | G_DECLARE_FINAL_TYPE(PurpleSatoriProtocol, purple_satori_protocol, PURPLE_SATORI, | |
| 33 | PROTOCOL, PurpleProtocol) | |
| 34 | ||
| 35 | G_GNUC_INTERNAL void purple_satori_protocol_register(GPluginNativePlugin *plugin); | |
| 36 | ||
| 37 | G_GNUC_INTERNAL PurpleProtocol *purple_satori_protocol_new(void); | |
| 38 | ||
| 39 | G_END_DECLS | |
| 40 | ||
| 41 | #endif /* PURPLE_SATORI_PROTOCOL_H */ |