[Opalvoip-svn] SF.net SVN: opalvoip:[20618] ptlib/trunk/src/ptlib/common/pluginmgr.cxx
Brought to you by:
csoutheren,
rjongbloed
From: <rjo...@us...> - 2008-07-25 08:35:24
|
Revision: 20618 http://opalvoip.svn.sourceforge.net/opalvoip/?rev=20618&view=rev Author: rjongbloed Date: 2008-07-25 08:35:34 +0000 (Fri, 25 Jul 2008) Log Message: ----------- Include current directory in Windows Mobile plug in directory search. Modified Paths: -------------- ptlib/trunk/src/ptlib/common/pluginmgr.cxx Modified: ptlib/trunk/src/ptlib/common/pluginmgr.cxx =================================================================== --- ptlib/trunk/src/ptlib/common/pluginmgr.cxx 2008-07-25 08:34:07 UTC (rev 20617) +++ ptlib/trunk/src/ptlib/common/pluginmgr.cxx 2008-07-25 08:35:34 UTC (rev 20618) @@ -22,7 +22,7 @@ #ifndef P_DEFAULT_PLUGIN_DIR # if defined (_WIN32_WCE) -# define P_DEFAULT_PLUGIN_DIR "\\Program Files\\PTLib Plug Ins" +# define P_DEFAULT_PLUGIN_DIR ".;\\Program Files\\PTLib Plug Ins" # elif defined (_WIN32) # define P_DEFAULT_PLUGIN_DIR ".;C:\\Program Files\\PTLib Plug Ins;C:\\PTLIB_PLUGINS;C:\\PWLIB_PLUGINS" # else @@ -31,9 +31,9 @@ #endif #ifdef _WIN32 -#define DIR_SEP ";" +#define PATH_SEP ";" #else -#define DIR_SEP ":" +#define PATH_SEP ":" #endif #ifndef PDIR_SEPARATOR @@ -118,7 +118,7 @@ env = P_DEFAULT_PLUGIN_DIR; // split into directories on correct seperator - return env.Tokenise(DIR_SEP, PTrue); + return env.Tokenise(PATH_SEP, PTrue); } PPluginManager & PPluginManager::GetPluginManager() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |