| 1 /* |
1 /** |
| 2 * gaim |
2 * @file gtkwin32dep.h UI Win32 Specific Functionality |
| |
3 * @ingroup win32 |
| 3 * |
4 * |
| 4 * File: win32dep.h |
5 * Pidgin is the legal property of its developers, whose names are too numerous |
| 5 * |
6 * to list here. Please refer to the COPYRIGHT file distributed with this |
| 6 * Copyright (C) 2002-2003, Herman Bloggs <hermanator12002@yahoo.com> |
7 * source distribution |
| 7 * |
8 * |
| 8 * This program is free software; you can redistribute it and/or modify |
9 * This program is free software; you can redistribute it and/or modify |
| 9 * it under the terms of the GNU General Public License as published by |
10 * it under the terms of the GNU General Public License as published by |
| 10 * the Free Software Foundation; either version 2 of the License, or |
11 * the Free Software Foundation; either version 2 of the License, or |
| 11 * (at your option) any later version. |
12 * (at your option) any later version. |
| 16 * GNU General Public License for more details. |
17 * GNU General Public License for more details. |
| 17 * |
18 * |
| 18 * You should have received a copy of the GNU General Public License |
19 * You should have received a copy of the GNU General Public License |
| 19 * along with this program; if not, write to the Free Software |
20 * along with this program; if not, write to the Free Software |
| 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 21 * |
|
| 22 */ |
22 */ |
| 23 #ifndef _GTKWIN32DEP_H_ |
23 #ifndef _GTKWIN32DEP_H_ |
| 24 #define _GTKWIN32DEP_H_ |
24 #define _GTKWIN32DEP_H_ |
| 25 #include <windows.h> |
25 #include <windows.h> |
| 26 #include <gtk/gtk.h> |
26 #include <gtk/gtk.h> |
| 27 #include "conversation.h" |
27 #include "conversation.h" |
| 28 |
28 |
| 29 HINSTANCE gtkwgaim_hinstance(void); |
29 HINSTANCE winpidgin_hinstance(void); |
| 30 |
30 |
| 31 /* Utility */ |
31 /* Utility */ |
| 32 int gtkwgaim_gz_decompress(const char* in, const char* out); |
32 int winpidgin_gz_decompress(const char* in, const char* out); |
| 33 int gtkwgaim_gz_untar(const char* filename, const char* destdir); |
33 int winpidgin_gz_untar(const char* filename, const char* destdir); |
| 34 |
34 |
| 35 /* Misc */ |
35 /* Misc */ |
| 36 void gtkwgaim_notify_uri(const char *uri); |
36 void winpidgin_notify_uri(const char *uri); |
| 37 void gtkwgaim_shell_execute(const char *target, const char *verb, const char *clazz); |
37 void winpidgin_shell_execute(const char *target, const char *verb, const char *clazz); |
| 38 void gtkwgaim_ensure_onscreen(GtkWidget *win); |
38 void winpidgin_ensure_onscreen(GtkWidget *win); |
| 39 void gtkwgaim_conv_blink(GaimConversation *conv, GaimMessageFlags flags); |
39 void winpidgin_conv_blink(GaimConversation *conv, GaimMessageFlags flags); |
| 40 void gtkwgaim_window_flash(GtkWindow *window, gboolean flash); |
40 void winpidgin_window_flash(GtkWindow *window, gboolean flash); |
| 41 |
41 |
| 42 /* init / cleanup */ |
42 /* init / cleanup */ |
| 43 void gtkwgaim_init(HINSTANCE); |
43 void winpidgin_init(HINSTANCE); |
| 44 void gtkwgaim_post_init(void); |
44 void winpidgin_post_init(void); |
| 45 void gtkwgaim_cleanup(void); |
45 void winpidgin_cleanup(void); |
| 46 |
46 |
| 47 #endif /* _WIN32DEP_H_ */ |
47 #endif /* _WIN32DEP_H_ */ |
| 48 |
48 |