Exporting the path separator.

git-svn-id: http://yate.null.ro/svn/yate/trunk@428 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2005-07-04 12:53:04 +00:00
parent e119cecb49
commit 80109fdfb4
2 changed files with 11 additions and 1 deletions

View File

@ -586,6 +586,11 @@ Engine* Engine::self()
return s_self;
}
const char* Engine::pathSeparator()
{
return PATH_SEP;
}
String Engine::configFile(const char* name)
{
return s_cfgpath + PATH_SEP + name + s_cfgsuffix;

View File

@ -672,10 +672,15 @@ public:
inline static String& moduleSuffix()
{ return s_modsuffix; }
/**
* The operating system specific path element separator
*/
static const char* pathSeparator();
/**
* The global configuration of the engine.
* You must use this resource with caution.
* Note that sections [general] [modules] [preload] and [postload] are
* Note that sections [general], [modules], [preload] and [postload] are
* reserved by the engine. Also [telephony] is reserved by the drivers.
* @return A reference to the read-only engine configuration
*/