Tue, 16 Jan 2007 22:20:26 +0000
[gaim-migrate @ 18140]
Update gaim_gtk_set_urgent to work on WIN32.
I also changed the function signature to take a GtkWindow instead of a GdkWindow so that we can use gtk_window_set_urgency_hint (only available on GTK >= 2.8.0).
| 14286 | 1 | /* |
| 2 | * gaim | |
| 3 | * | |
| 4 | * File: win32dep.h | |
| 5 | * | |
| 6 | * Copyright (C) 2002-2003, Herman Bloggs <hermanator12002@yahoo.com> | |
| 7 | * | |
| 8 | * 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 | * the Free Software Foundation; either version 2 of the License, or | |
| 11 | * (at your option) any later version. | |
| 12 | * | |
| 13 | * This program is distributed in the hope that it will be useful, | |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | * GNU General Public License for more details. | |
| 17 | * | |
| 18 | * 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 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 21 | * | |
| 22 | */ | |
| 23 | #ifndef _GTKWIN32DEP_H_ | |
| 24 | #define _GTKWIN32DEP_H_ | |
|
14638
b0fa76dac93f
[gaim-migrate @ 17300]
Daniel Atallah <datallah@pidgin.im>
parents:
14636
diff
changeset
|
25 | #include <windows.h> |
|
b0fa76dac93f
[gaim-migrate @ 17300]
Daniel Atallah <datallah@pidgin.im>
parents:
14636
diff
changeset
|
26 | #include <gtk/gtk.h> |
|
14762
f494a5f12981
[gaim-migrate @ 17452]
Daniel Atallah <datallah@pidgin.im>
parents:
14638
diff
changeset
|
27 | #include "conversation.h" |
| 14286 | 28 | |
| 29 | HINSTANCE gtkwgaim_hinstance(void); | |
| 30 | ||
| 31 | /* Utility */ | |
|
14762
f494a5f12981
[gaim-migrate @ 17452]
Daniel Atallah <datallah@pidgin.im>
parents:
14638
diff
changeset
|
32 | int gtkwgaim_gz_decompress(const char* in, const char* out); |
|
f494a5f12981
[gaim-migrate @ 17452]
Daniel Atallah <datallah@pidgin.im>
parents:
14638
diff
changeset
|
33 | int gtkwgaim_gz_untar(const char* filename, const char* destdir); |
| 14286 | 34 | |
| 35 | /* Misc */ | |
|
14762
f494a5f12981
[gaim-migrate @ 17452]
Daniel Atallah <datallah@pidgin.im>
parents:
14638
diff
changeset
|
36 | void gtkwgaim_notify_uri(const char *uri); |
|
15298
e192226f7804
[gaim-migrate @ 18026]
Daniel Atallah <datallah@pidgin.im>
parents:
14762
diff
changeset
|
37 | void gtkwgaim_shell_execute(const char *target, const char *verb, const char *clazz); |
|
14762
f494a5f12981
[gaim-migrate @ 17452]
Daniel Atallah <datallah@pidgin.im>
parents:
14638
diff
changeset
|
38 | void gtkwgaim_ensure_onscreen(GtkWidget *win); |
|
f494a5f12981
[gaim-migrate @ 17452]
Daniel Atallah <datallah@pidgin.im>
parents:
14638
diff
changeset
|
39 | void gtkwgaim_conv_blink(GaimConversation *conv, GaimMessageFlags flags); |
|
15409
37b46bbce4cb
[gaim-migrate @ 18140]
Daniel Atallah <datallah@pidgin.im>
parents:
15298
diff
changeset
|
40 | void gtkwgaim_window_flash(GtkWindow *window, gboolean flash); |
| 14286 | 41 | |
| 42 | /* init / cleanup */ | |
|
14762
f494a5f12981
[gaim-migrate @ 17452]
Daniel Atallah <datallah@pidgin.im>
parents:
14638
diff
changeset
|
43 | void gtkwgaim_init(HINSTANCE); |
|
f494a5f12981
[gaim-migrate @ 17452]
Daniel Atallah <datallah@pidgin.im>
parents:
14638
diff
changeset
|
44 | void gtkwgaim_post_init(void); |
|
f494a5f12981
[gaim-migrate @ 17452]
Daniel Atallah <datallah@pidgin.im>
parents:
14638
diff
changeset
|
45 | void gtkwgaim_cleanup(void); |
| 14286 | 46 | |
| 47 | #endif /* _WIN32DEP_H_ */ | |
| 48 |