Migrate certificates, icons, logs to XDG dirs
[pidgin-git.git] / pidgin / win32 / gtkwin32dep.h
blob3b9076b87473fbfcb9405341c6fa263ac3de68df
1 /**
2 * @file gtkwin32dep.h UI Win32 Specific Functionality
3 * @ingroup win32
5 * Pidgin is the legal property of its developers, whose names are too numerous
6 * to list here. Please refer to the COPYRIGHT file distributed with this
7 * source distribution
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
23 #ifndef _GTKWIN32DEP_H_
24 #define _GTKWIN32DEP_H_
26 #include <config.h>
28 #include <windows.h>
29 #include <gtk/gtk.h>
30 #include "conversation.h"
32 HINSTANCE winpidgin_dll_hinstance(void);
33 HINSTANCE winpidgin_exe_hinstance(void);
34 void winpidgin_set_exe_hinstance(HINSTANCE hint);
36 /* Utility */
37 int winpidgin_gz_decompress(const char* in, const char* out);
38 int winpidgin_gz_untar(const char* filename, const char* destdir);
40 /* Misc */
41 void winpidgin_notify_uri(const char *uri);
42 void winpidgin_shell_execute(const char *target, const char *verb, const char *clazz);
43 void winpidgin_ensure_onscreen(GtkWidget *win);
44 void winpidgin_conv_blink(PurpleConversation *conv);
45 void winpidgin_window_flash(GtkWindow *window, gboolean flash);
46 DWORD winpidgin_get_lastactive(void);
48 /* init / cleanup */
49 void winpidgin_init(void);
50 void winpidgin_post_init(void);
51 void winpidgin_cleanup(void);
53 #endif /* _GTKWIN32DEP_H_ */