Mercurial > pidgin.yaz
diff PROGRAMMING_NOTES @ 16188:e8f8d19bf3ee
Replace an instance of GAIM with "Pidgin, Finch, and libpurple"
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 16 Apr 2007 00:54:03 +0000 |
parents | 83ec0b408926 |
children |
line wrap: on
line diff
--- a/PROGRAMMING_NOTES Mon Apr 16 00:53:13 2007 +0000 +++ b/PROGRAMMING_NOTES Mon Apr 16 00:54:03 2007 +0000 @@ -1,5 +1,5 @@ -Notes on keeping GAIM OS independant ------------------------------------- +Notes on keeping Pidgin, Finch, and libpurple OS independant +------------------------------------------------------------ General ------- @@ -7,7 +7,7 @@ - Use g_getenv, g_snprintf, g_vsnprintf -- Use gaim_home_dir instead of g_get_home_dir or g_getenv("HOME") +- Use purple_home_dir instead of g_get_home_dir or g_getenv("HOME") - Make sure when including win32dep.h that it is the last header to be included. @@ -22,7 +22,7 @@ Paths ----- -- DATADIR, LOCALEDIR & LIBDIR are defined in wingaim as functions. +- DATADIR, LOCALEDIR & LIBDIR are defined as functions in the win32 build Doing the following will therefore break the windows build: printf("File in DATADIR is: %s\n", DATADIR G_DIR_SEPARATOR_S "pic.png"); @@ -35,9 +35,9 @@ ---------------- - G_MODULE_EXPORT all functions which are to be accessed from outside the - scope of its "dll" or "so". (E.G. gaim_plugin_init) + scope of its "dll" or "so". (E.G. purple_plugin_init) - G_MODULE_IMPORT all global variables which are located outside your dynamic library. (E.G. connections) - (Not doing this will cause "Memory Access Violations" in Win32) + (Not doing this will cause "Memory Access Violations" in win32)