Mercurial > pidgin
view src/win32/win32dep.h @ 5106:7b218dde1d73
[gaim-migrate @ 5469]
This is some IM image dialog fixes from Ka-Hing Cheung. It makes
"Conversation->Insert Image..." work if you have not used the button
on the toolbar yet. It makes clicking the button on the toolbar twice
close the select image dialog, and it makes closing the image dialog
toggle the insert image button back to an unpressed state.
Thanks javabsp, youdaman.
Also, my ICQ icon for unauthorized buddies is probably getting committed.
I'll commit the code that uses it later sometime.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 11 Apr 2003 07:01:54 +0000 |
parents | a96653493416 |
children | 9657e243d001 |
line wrap: on
line source
/* * win32dep.h */ #ifndef _WIN32DEP_H_ #define _WIN32DEP_H_ #include <winsock.h> #include <process.h> #include <gtk/gtk.h> #include <gdk/gdkevents.h> #include "wgaimerror.h" #include "libc_interface.h" #include "systray.h" /* * PROTOS */ /** ** win32dep.c **/ /* Windows helper functions */ HINSTANCE wgaim_hinstance(void); FARPROC wgaim_find_and_loadproc(char*, char*); /* Determine Gaim paths */ extern char* wgaim_install_dir(void); extern char* wgaim_lib_dir(void); extern char* wgaim_locale_dir(void); extern char* wgaim_escape_dirsep(char*); /* UI related */ extern void wgaim_im_blink(GtkWidget*); extern void wgaim_gtk_window_move(GtkWindow *window, gint x, gint y); /* Utility */ extern int wgaim_gz_decompress(const char* in, const char* out); extern int wgaim_gz_untar(const char* filename, const char* destdir); /* init / cleanup */ extern void wgaim_init(void); extern void wgaim_cleanup(void); /* * MACROS */ /* * Gaim specific */ #define DATADIR wgaim_install_dir() #define LIBDIR wgaim_lib_dir() #define LOCALEDIR wgaim_locale_dir() /* Temp solution for gtk_window_get_pos & gtk_window_move conflict */ #define gtk_window_move( window, x, y ) \ wgaim_gtk_window_move( ## window ##, ## x ##, ## y ## ) /* * Gtk specific */ /* Needed for accessing global variables outside the current module */ #ifdef G_MODULE_IMPORT #undef G_MODULE_IMPORT #endif #define G_MODULE_IMPORT __declspec(dllimport) #endif /* _WIN32DEP_H_ */