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