Sat, 27 Apr 2024 23:53:20 -0500
Make PurplePresence final and other clean ups
This also makes purple_presence_set_idle to only take a boolean value, but also
add purple_presence_set_idle_time that takes a GDateTime.
Cleaned up property declarations as well.
Testing Done:
Ran with the turtles.
Reviewed at https://reviews.imfreedom.org/r/3148/
/* * 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/>. */ #include <glib/gi18n-lib.h> #include "purpledemoprotocol.h" #include "purpledemoprotocolclient.h" /****************************************************************************** * PurpleProtocolClient Implementation *****************************************************************************/ void purple_demo_protocol_client_init(G_GNUC_UNUSED PurpleProtocolClientInterface *iface) { }