protocols/demo/purpledemocommands.h

Fri, 15 Nov 2024 02:23:29 -0600

author
Gary Kramlich <grim@reaperworld.com>
date
Fri, 15 Nov 2024 02:23:29 -0600
changeset 43066
850400fb36c0
permissions
-rw-r--r--

Add an edited command to the demo protocol

This will send a message with the edited flag set to true.

Testing Done:
Used the command with `echo` and verified it showed as edited. Also called in the turtles for good measure.

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

/*
 * Purple - Internet Messaging Library
 * Copyright (C) Pidgin Developers <devel@pidgin.im>
 *
 * 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_DEMO_COMMANDS_H
#define PURPLE_DEMO_COMMANDS_H

#include <glib.h>

#include <purple.h>

G_BEGIN_DECLS

G_GNUC_INTERNAL void purple_demo_commands_add(void);
G_GNUC_INTERNAL void purple_demo_commands_remove(void);

G_END_DECLS

#endif /* PURPLE_DEMO_COMMANDS_H */

mercurial