Mercurial > pidgin.yaz
annotate src/win32/win32dep.h @ 4026:a997156437b6
[gaim-migrate @ 4230]
Win prefs page w/ transparency option added
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Sun, 01 Dec 2002 03:08:27 +0000 |
parents | d9287e87ba56 |
children | a3ec0146c73e |
rev | line source |
---|---|
3630 | 1 /* |
2 * win32dep.h | |
3 */ | |
4 | |
5 #ifndef _WIN32DEP_H_ | |
6 #define _WIN32DEP_H_ | |
3712
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
7 #include <winsock.h> |
3950
c25cf0495533
[gaim-migrate @ 4129]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3907
diff
changeset
|
8 #include <gtk/gtk.h> |
3630 | 9 #include <gdk/gdkevents.h> |
3712
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
10 #include "winerror.h" |
3778
813304a57f88
[gaim-migrate @ 3918]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3712
diff
changeset
|
11 #include "libc_interface.h" |
3950
c25cf0495533
[gaim-migrate @ 4129]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3907
diff
changeset
|
12 #include "systray.h" |
4026
a997156437b6
[gaim-migrate @ 4230]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3973
diff
changeset
|
13 #include "winprefs.h" |
3630 | 14 |
3712
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
15 /* |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
16 * PROTOS |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
17 */ |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
18 |
3950
c25cf0495533
[gaim-migrate @ 4129]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3907
diff
changeset
|
19 /** |
c25cf0495533
[gaim-migrate @ 4129]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3907
diff
changeset
|
20 ** win32dep.c |
c25cf0495533
[gaim-migrate @ 4129]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3907
diff
changeset
|
21 **/ |
c25cf0495533
[gaim-migrate @ 4129]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3907
diff
changeset
|
22 /* Misc */ |
c25cf0495533
[gaim-migrate @ 4129]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3907
diff
changeset
|
23 HINSTANCE wgaim_hinstance(void); |
3973
d9287e87ba56
[gaim-migrate @ 4157]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3950
diff
changeset
|
24 extern void wgaim_im_blink(GtkWidget*); |
4026
a997156437b6
[gaim-migrate @ 4230]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3973
diff
changeset
|
25 extern GtkWidget *wgaim_wintrans_slider(GtkWidget*); |
a997156437b6
[gaim-migrate @ 4230]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3973
diff
changeset
|
26 extern void wgaim_set_wintrans(GtkWidget*, int); |
a997156437b6
[gaim-migrate @ 4230]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3973
diff
changeset
|
27 extern void wgaim_set_imalpha(int); |
a997156437b6
[gaim-migrate @ 4230]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3973
diff
changeset
|
28 extern int wgaim_get_imalpha(); |
a997156437b6
[gaim-migrate @ 4230]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3973
diff
changeset
|
29 extern int wgaim_has_transparency(); |
3950
c25cf0495533
[gaim-migrate @ 4129]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3907
diff
changeset
|
30 |
c25cf0495533
[gaim-migrate @ 4129]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3907
diff
changeset
|
31 /* Determine Gaim paths */ |
3630 | 32 extern char* wgaim_install_dir(void); |
33 extern char* wgaim_lib_dir(void); | |
34 extern char* wgaim_locale_dir(void); | |
3950
c25cf0495533
[gaim-migrate @ 4129]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3907
diff
changeset
|
35 |
c25cf0495533
[gaim-migrate @ 4129]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3907
diff
changeset
|
36 /* init / cleanup */ |
3630 | 37 extern void wgaim_init(void); |
3907
41e7544a9c67
[gaim-migrate @ 4060]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3778
diff
changeset
|
38 extern void wgaim_cleanup(void); |
3630 | 39 |
3712
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
40 /* |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
41 * MACROS |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
42 */ |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
43 |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
44 /* |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
45 * Gaim specific |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
46 */ |
3630 | 47 #define DATADIR wgaim_install_dir() |
3712
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
48 #define LIBDIR wgaim_lib_dir() |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
49 #define LOCALEDIR wgaim_locale_dir() |
3630 | 50 |
3712
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
51 /* |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
52 * Gtk specific |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
53 */ |
3630 | 54 /* Needed for accessing global variables outside the current module */ |
55 #ifdef G_MODULE_IMPORT | |
56 #undef G_MODULE_IMPORT | |
57 #endif | |
58 #define G_MODULE_IMPORT __declspec(dllimport) | |
59 | |
60 | |
61 #endif /* _WIN32DEP_H_ */ | |
62 |