pidgin/win32/gtkwin32dep.h

Tue, 07 Mar 2023 00:22:36 -0600

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Tue, 07 Mar 2023 00:22:36 -0600
changeset 42127
18acb99a0fa6
parent 41885
973533570200
child 42410
563e7a17c220
permissions
-rw-r--r--

Convert PurpleRequestGroup into a GObject

And go through with the renaming of `PurpleRequestFieldGroup` to `PurpleRequestGroup`.

Also, this now implements `GListModel`, but nothing is yet updated to use that.

Testing Done:
Compiled, and opened Request Fields from Demo protocol.

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

/*
 * Pidgin is the legal property of its developers, whose names are too numerous
 * to list here.  Please refer to the COPYRIGHT file distributed with this
 * source distribution
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
 */
#ifndef _GTKWIN32DEP_H_
#define _GTKWIN32DEP_H_

#include <config.h>

#include <windows.h>
#include <gtk/gtk.h>

#include <purple.h>

HINSTANCE winpidgin_dll_hinstance(void);
HINSTANCE winpidgin_exe_hinstance(void);
void winpidgin_set_exe_hinstance(HINSTANCE hint);

/* Misc */
DWORD winpidgin_get_lastactive(void);

/* init / cleanup */
void winpidgin_init(void);
void winpidgin_cleanup(void);

#endif /* _GTKWIN32DEP_H_ */

mercurial