purplesatoriprotocol.h

Sun, 10 Aug 2025 23:53:22 +0800

author
Gong Zhile <gongzl@stu.hebust.edu.cn>
date
Sun, 10 Aug 2025 23:53:22 +0800
changeset 3
33a7b189a2c6
parent 0
cc7c1f9d20f7
permissions
-rw-r--r--

Various improvement, Support configuration from UI

/*
 * 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 */

mercurial