Fri, 01 May 2020 05:15:51 -0500
Update all of the pidgin code to include purple.h
|
38553
36e30c91cd15
gtkwin32dep: Fix section documentation headings
Mike Ruprecht <cmaiku@gmail.com>
parents:
36114
diff
changeset
|
1 | /* |
|
15574
18d9d1c05994
Win32 de-gaimification of pidgin
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
2 | * Pidgin is the legal property of its developers, whose names are too numerous |
|
18d9d1c05994
Win32 de-gaimification of pidgin
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
3 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
18d9d1c05994
Win32 de-gaimification of pidgin
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
4 | * source distribution |
| 14286 | 5 | * |
| 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. | |
| 10 | * | |
| 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. | |
| 15 | * | |
| 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 | |
|
19859
71d37b57eff2
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
18633
diff
changeset
|
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 14286 | 19 | */ |
| 20 | #ifndef _GTKWIN32DEP_H_ | |
| 21 | #define _GTKWIN32DEP_H_ | |
|
38553
36e30c91cd15
gtkwin32dep: Fix section documentation headings
Mike Ruprecht <cmaiku@gmail.com>
parents:
36114
diff
changeset
|
22 | /** |
|
36e30c91cd15
gtkwin32dep: Fix section documentation headings
Mike Ruprecht <cmaiku@gmail.com>
parents:
36114
diff
changeset
|
23 | * SECTION:gtkwin32dep |
|
36e30c91cd15
gtkwin32dep: Fix section documentation headings
Mike Ruprecht <cmaiku@gmail.com>
parents:
36114
diff
changeset
|
24 | * @section_id: pidgin-gtkwin32dep |
|
36e30c91cd15
gtkwin32dep: Fix section documentation headings
Mike Ruprecht <cmaiku@gmail.com>
parents:
36114
diff
changeset
|
25 | * @short_description: <filename>gtkwin32dep.h</filename> |
|
36e30c91cd15
gtkwin32dep: Fix section documentation headings
Mike Ruprecht <cmaiku@gmail.com>
parents:
36114
diff
changeset
|
26 | * @title: UI Win32 Specific Functionality |
|
36e30c91cd15
gtkwin32dep: Fix section documentation headings
Mike Ruprecht <cmaiku@gmail.com>
parents:
36114
diff
changeset
|
27 | */ |
|
35892
02bf3200b9cb
cross-win32: make use of WIN32_LEAN_AND_MEAN define
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35605
diff
changeset
|
28 | |
|
02bf3200b9cb
cross-win32: make use of WIN32_LEAN_AND_MEAN define
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35605
diff
changeset
|
29 | #include <config.h> |
|
02bf3200b9cb
cross-win32: make use of WIN32_LEAN_AND_MEAN define
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35605
diff
changeset
|
30 | |
|
14638
b0fa76dac93f
[gaim-migrate @ 17300]
Daniel Atallah <datallah@pidgin.im>
parents:
14636
diff
changeset
|
31 | #include <windows.h> |
|
b0fa76dac93f
[gaim-migrate @ 17300]
Daniel Atallah <datallah@pidgin.im>
parents:
14636
diff
changeset
|
32 | #include <gtk/gtk.h> |
|
40360
e21f3bbcc2a5
Update all of the pidgin code to include purple.h
Gary Kramlich <grim@reaperworld.com>
parents:
38553
diff
changeset
|
33 | |
|
e21f3bbcc2a5
Update all of the pidgin code to include purple.h
Gary Kramlich <grim@reaperworld.com>
parents:
38553
diff
changeset
|
34 | #include <purple.h> |
| 14286 | 35 | |
|
16058
dc1c7b09a058
4bit icons for windows < XP. These are certainly not as pretty as the originals, but look a lot better than scaled down versions.
Daniel Atallah <datallah@pidgin.im>
parents:
15884
diff
changeset
|
36 | HINSTANCE winpidgin_dll_hinstance(void); |
|
dc1c7b09a058
4bit icons for windows < XP. These are certainly not as pretty as the originals, but look a lot better than scaled down versions.
Daniel Atallah <datallah@pidgin.im>
parents:
15884
diff
changeset
|
37 | HINSTANCE winpidgin_exe_hinstance(void); |
| 35605 | 38 | void winpidgin_set_exe_hinstance(HINSTANCE hint); |
| 14286 | 39 | |
| 40 | /* Utility */ | |
|
15574
18d9d1c05994
Win32 de-gaimification of pidgin
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
41 | int winpidgin_gz_decompress(const char* in, const char* out); |
|
18d9d1c05994
Win32 de-gaimification of pidgin
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
42 | int winpidgin_gz_untar(const char* filename, const char* destdir); |
| 14286 | 43 | |
| 44 | /* Misc */ | |
|
15574
18d9d1c05994
Win32 de-gaimification of pidgin
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
45 | void winpidgin_notify_uri(const char *uri); |
|
18d9d1c05994
Win32 de-gaimification of pidgin
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
46 | void winpidgin_shell_execute(const char *target, const char *verb, const char *clazz); |
|
18d9d1c05994
Win32 de-gaimification of pidgin
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
47 | void winpidgin_ensure_onscreen(GtkWidget *win); |
| 36114 | 48 | void winpidgin_conv_blink(PurpleConversation *conv); |
|
15574
18d9d1c05994
Win32 de-gaimification of pidgin
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
49 | void winpidgin_window_flash(GtkWindow *window, gboolean flash); |
|
30734
caafb5a4e95b
Kill the win32 idle tracking code that works on old windows versions and move
Daniel Atallah <datallah@pidgin.im>
parents:
19859
diff
changeset
|
50 | DWORD winpidgin_get_lastactive(void); |
| 14286 | 51 | |
| 52 | /* init / cleanup */ | |
| 35605 | 53 | void winpidgin_init(void); |
|
15574
18d9d1c05994
Win32 de-gaimification of pidgin
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
54 | void winpidgin_post_init(void); |
|
18d9d1c05994
Win32 de-gaimification of pidgin
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
55 | void winpidgin_cleanup(void); |
| 14286 | 56 | |
|
18633
34ba43198355
Fix the win32 build. Thanks to Etan and Lee Roach. Fixes #1929.
Daniel Atallah <datallah@pidgin.im>
parents:
16058
diff
changeset
|
57 | #endif /* _GTKWIN32DEP_H_ */ |
| 14286 | 58 |