--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/purplesatoriprotocol.h Fri Aug 08 09:46:55 2025 +0800 @@ -0,0 +1,41 @@ +/* + * Purple Satori Plugin - Satori Protocol Plugin for Purple3 + * Copyright (C) 2025 Gong Zhile + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef PURPLE_SATORI_PROTOCOL_H +#define PURPLE_SATORI_PROTOCOL_H + +#include <glib.h> +#include <glib-object.h> + +#include <gplugin-native.h> + +#include <purple.h> + +G_BEGIN_DECLS + +#define PURPLE_SATORI_TYPE_PROTOCOL (purple_satori_protocol_get_type()) +G_DECLARE_FINAL_TYPE(PurpleSatoriProtocol, purple_satori_protocol, PURPLE_SATORI, + PROTOCOL, PurpleProtocol) + +G_GNUC_INTERNAL void purple_satori_protocol_register(GPluginNativePlugin *plugin); + +G_GNUC_INTERNAL PurpleProtocol *purple_satori_protocol_new(void); + +G_END_DECLS + +#endif /* PURPLE_SATORI_PROTOCOL_H */