Wed, 01 Jan 2025 15:37:20 -0600
Added tag v2.90.1 for changeset a7fd7e06c486
|
38553
36e30c91cd15
gtkwin32dep: Fix section documentation headings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38433
diff
changeset
|
1 | /* |
|
15574
18d9d1c05994
Win32 de-gaimification of pidgin
Daniel Atallah <datallah@pidgin.im>
parents:
15563
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:
15563
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:
15563
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 | */ | |
| 21 | #include <io.h> | |
| 22 | #include <stdlib.h> | |
| 23 | #include <stdio.h> | |
|
41198
b5b1bffc48fb
Random Windows tweaks
Gary Kramlich <grim@reaperworld.com>
parents:
41087
diff
changeset
|
24 | |
|
b5b1bffc48fb
Random Windows tweaks
Gary Kramlich <grim@reaperworld.com>
parents:
41087
diff
changeset
|
25 | /* winsock2.h needs to be include before windows.h or else it throws a warning |
|
b5b1bffc48fb
Random Windows tweaks
Gary Kramlich <grim@reaperworld.com>
parents:
41087
diff
changeset
|
26 | * saying it needs to be included first. We don't use it directly but it's |
|
b5b1bffc48fb
Random Windows tweaks
Gary Kramlich <grim@reaperworld.com>
parents:
41087
diff
changeset
|
27 | * included indirectly. |
|
b5b1bffc48fb
Random Windows tweaks
Gary Kramlich <grim@reaperworld.com>
parents:
41087
diff
changeset
|
28 | */ |
|
b5b1bffc48fb
Random Windows tweaks
Gary Kramlich <grim@reaperworld.com>
parents:
41087
diff
changeset
|
29 | #include <winsock2.h> |
|
40669
48dfed6f4f1f
Fix Windows builds and tests
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40555
diff
changeset
|
30 | #include <windows.h> |
| 14286 | 31 | #include <winuser.h> |
|
35892
02bf3200b9cb
cross-win32: make use of WIN32_LEAN_AND_MEAN define
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35891
diff
changeset
|
32 | #include <shellapi.h> |
| 14286 | 33 | |
| 34 | #include <glib.h> | |
| 35 | #include <glib/gstdio.h> | |
| 36 | #include <gtk/gtk.h> | |
| 37 | ||
|
40360
e21f3bbcc2a5
Update all of the pidgin code to include purple.h
Gary Kramlich <grim@reaperworld.com>
parents:
40001
diff
changeset
|
38 | #include <purple.h> |
| 14286 | 39 | |
| 40 | #include "resource.h" | |
| 41 | ||
| 42 | #include "gtkwin32dep.h" | |
|
14762
f494a5f12981
[gaim-migrate @ 17452]
Daniel Atallah <datallah@pidgin.im>
parents:
14636
diff
changeset
|
43 | |
| 14286 | 44 | /* |
| 45 | * PUBLIC CODE | |
| 46 | */ | |
| 47 | ||
| 48 | /* DLL initializer */ | |
|
15697
78ddac185d80
winpidgin warning fixes
Daniel Atallah <datallah@pidgin.im>
parents:
15678
diff
changeset
|
49 | /* suppress gcc "no previous prototype" warning */ |
|
78ddac185d80
winpidgin warning fixes
Daniel Atallah <datallah@pidgin.im>
parents:
15678
diff
changeset
|
50 | BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved); |
|
43085
b349c302413c
Remove dead Windows code
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
43077
diff
changeset
|
51 | BOOL WINAPI |
|
b349c302413c
Remove dead Windows code
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
43077
diff
changeset
|
52 | DllMain(G_GNUC_UNUSED HINSTANCE hinstDLL, G_GNUC_UNUSED DWORD fdwReason, |
|
b349c302413c
Remove dead Windows code
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
43077
diff
changeset
|
53 | G_GNUC_UNUSED LPVOID lpvReserved) |
|
b349c302413c
Remove dead Windows code
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
43077
diff
changeset
|
54 | { |
| 14286 | 55 | return TRUE; |
| 56 | } |