Mercurial > pidgin
comparison src/win32/win32dep.h @ 10673:179b0245a2f7
[gaim-migrate @ 12213]
This is patches 1115963 and 1115968 from rlaager, implementation of wgaim_get_special_folder() and using it to specify a sane default for the file chooser.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Tue, 08 Mar 2005 03:15:37 +0000 |
parents | 95ca0db2d01d |
children | 2b772e7094ef |
comparison
equal
deleted
inserted
replaced
10672:0925c898b73c | 10673:179b0245a2f7 |
---|---|
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 * | 21 * |
22 */ | 22 */ |
23 #ifndef _WIN32DEP_H_ | 23 #ifndef _WIN32DEP_H_ |
24 #define _WIN32DEP_H_ | 24 #define _WIN32DEP_H_ |
25 #include <shlobj.h> | |
25 #include <winsock2.h> | 26 #include <winsock2.h> |
26 #include <process.h> | 27 #include <process.h> |
27 #include <gtk/gtk.h> | 28 #include <gtk/gtk.h> |
28 #include <gdk/gdkevents.h> | 29 #include <gdk/gdkevents.h> |
29 #include "wgaimerror.h" | 30 #include "wgaimerror.h" |
40 extern HINSTANCE wgaim_hinstance(void); | 41 extern HINSTANCE wgaim_hinstance(void); |
41 extern FARPROC wgaim_find_and_loadproc(char*, char*); | 42 extern FARPROC wgaim_find_and_loadproc(char*, char*); |
42 extern gboolean wgaim_read_reg_string(HKEY key, char* sub_key, char* val_name, LPBYTE data, LPDWORD data_len); | 43 extern gboolean wgaim_read_reg_string(HKEY key, char* sub_key, char* val_name, LPBYTE data, LPDWORD data_len); |
43 extern char* wgaim_escape_dirsep(char*); | 44 extern char* wgaim_escape_dirsep(char*); |
44 /* Determine Gaim paths */ | 45 /* Determine Gaim paths */ |
46 extern char* wgaim_get_special_folder(int folder_type); /* needs to be g_free'd */ | |
45 extern char* wgaim_install_dir(void); | 47 extern char* wgaim_install_dir(void); |
46 extern char* wgaim_lib_dir(void); | 48 extern char* wgaim_lib_dir(void); |
47 extern char* wgaim_locale_dir(void); | 49 extern char* wgaim_locale_dir(void); |
48 extern char* wgaim_data_dir(void); | 50 extern char* wgaim_data_dir(void); |
49 /* UI related */ | 51 /* UI related */ |