Use conventional style for empty string check
[pidgin-git.git] / pidgin / win32 / gtkwin32dep.h
blob3584334e0c0ff084a18c985cf0cd492842a34eb4
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_
25 #include <windows.h>
26 #include <gtk/gtk.h>
27 #include "conversation.h"
29 HINSTANCE winpidgin_dll_hinstance(void);
30 HINSTANCE winpidgin_exe_hinstance(void);
32 /* Utility */
33 int winpidgin_gz_decompress(const char* in, const char* out);
34 int winpidgin_gz_untar(const char* filename, const char* destdir);
36 /* Misc */
37 void winpidgin_notify_uri(const char *uri);
38 void winpidgin_shell_execute(const char *target, const char *verb, const char *clazz);
39 void winpidgin_ensure_onscreen(GtkWidget *win);
40 void winpidgin_conv_blink(PurpleConversation *conv, PurpleMessageFlags flags);
41 void winpidgin_window_flash(GtkWindow *window, gboolean flash);
42 DWORD winpidgin_get_lastactive(void);
44 /* init / cleanup */
45 void winpidgin_init(HINSTANCE);
46 void winpidgin_post_init(void);
47 void winpidgin_cleanup(void);
49 #endif /* _GTKWIN32DEP_H_ */