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:
parent
e119cecb49
commit
80109fdfb4
|
@ -586,6 +586,11 @@ Engine* Engine::self()
|
||||||
return s_self;
|
return s_self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char* Engine::pathSeparator()
|
||||||
|
{
|
||||||
|
return PATH_SEP;
|
||||||
|
}
|
||||||
|
|
||||||
String Engine::configFile(const char* name)
|
String Engine::configFile(const char* name)
|
||||||
{
|
{
|
||||||
return s_cfgpath + PATH_SEP + name + s_cfgsuffix;
|
return s_cfgpath + PATH_SEP + name + s_cfgsuffix;
|
||||||
|
|
|
@ -672,10 +672,15 @@ public:
|
||||||
inline static String& moduleSuffix()
|
inline static String& moduleSuffix()
|
||||||
{ return s_modsuffix; }
|
{ return s_modsuffix; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operating system specific path element separator
|
||||||
|
*/
|
||||||
|
static const char* pathSeparator();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The global configuration of the engine.
|
* The global configuration of the engine.
|
||||||
* You must use this resource with caution.
|
* 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.
|
* reserved by the engine. Also [telephony] is reserved by the drivers.
|
||||||
* @return A reference to the read-only engine configuration
|
* @return A reference to the read-only engine configuration
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue