Mercurial > pidgin.yaz
view src/win_gaim.c @ 6846:8ab95f4c9800
[gaim-migrate @ 7391]
Added new buddy icon caching code. Each GaimBuddy has its own icon, and the
complete list of all icons is now stored in a set of hashtables for quick
retrieval. Buddy icons now live much happier in the core, with the magma
and tooth fairies (that's where they really live).
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Mon, 15 Sep 2003 07:35:49 +0000 |
parents | 5aeba37b303c |
children | 4eee806af511 |
line wrap: on
line source
/* * win_aim.c * * Author: Herman Bloggs <hermanator12002@yahoo.com> * Date: June, 2002 * Description: Entry point for win32 gaim, and various win32 dependant * routines. */ #include <windows.h> #include <stdlib.h> #include <glib.h> /* * GLOBALS */ __declspec(dllimport) HINSTANCE gaimexe_hInstance; /* * LOCALS */ /* * PROTOTYPES */ extern int gaim_main( int, char** ); extern char* wgaim_install_dir(); #ifdef __GNUC__ # ifndef _stdcall # define _stdcall __attribute__((stdcall)) # endif #endif int _stdcall WinMain (struct HINSTANCE__ *hInstance, struct HINSTANCE__ *hPrevInstance, char *lpszCmdLine, int nCmdShow) { char* drmingw; gaimexe_hInstance = hInstance; /* Load exception handler if we have it */ drmingw = g_build_filename(wgaim_install_dir(), "exchndl.dll", NULL); LoadLibrary(drmingw); g_free(drmingw); return gaim_main (__argc, __argv); }