Mercurial > pidgin.yaz
changeset 4097:929d23ef2ded
[gaim-migrate @ 4312]
Improved prefs page, added slider option for IM windows
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Thu, 19 Dec 2002 02:50:18 +0000 |
parents | 72d973958607 |
children | f5675e13a22f |
files | src/win32/win32dep.c src/win32/win32dep.h |
diffstat | 2 files changed, 19 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/src/win32/win32dep.c Thu Dec 19 02:41:31 2002 +0000 +++ b/src/win32/win32dep.c Thu Dec 19 02:50:18 2002 +0000 @@ -11,8 +11,8 @@ #include <winuser.h> #include <glib.h> #include <gdk/gdkwin32.h> + #include "gaim.h" - #include "stdafx.h" #include "resource.h" #include "MinimizeToTray.h" @@ -50,7 +50,9 @@ /* * PROTOS */ + BOOL (*MyFlashWindowEx)(PFLASHWINFO pfwi)=NULL; +FARPROC wgaim_find_and_loadproc(char*, char*); /* * STATIC CODE @@ -71,9 +73,23 @@ debug_printf("done\n"); } +static void load_winver_specific_procs(void) { + /* Used for Win98+ and WinNT5+ */ + MyFlashWindowEx = (void*)wgaim_find_and_loadproc("user32.dll", "FlashWindowEx" ); +} + +/* + * PUBLIC CODE + */ + +/* Misc Wingaim functions */ +HINSTANCE wgaim_hinstance(void) { + return gaimexe_hInstance; +} + /* Determine whether the specified dll contains the specified procedure. If so, load it (if not already loaded). */ -static FARPROC find_and_loadproc( char* dllname, char* procedure ) { +FARPROC wgaim_find_and_loadproc( char* dllname, char* procedure ) { HMODULE hmod; int did_load=0; FARPROC proc = 0; @@ -102,20 +118,6 @@ } } -static void load_winver_specific_procs(void) { - /* Used for Win98+ and WinNT5+ */ - MyFlashWindowEx = (void*)find_and_loadproc("user32.dll", "FlashWindowEx" ); -} - -/* - * PUBLIC CODE - */ - -/* Misc Wingaim functions */ -HINSTANCE wgaim_hinstance(void) { - return gaimexe_hInstance; -} - /* Determine Gaim Paths during Runtime */ char* wgaim_install_dir(void) {