mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 08:31:43 +02:00
Add missing Path implementations for WINCE
This commit is contained in:
@@ -31,9 +31,13 @@ class Foundation_API PathImpl
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
static std::string currentImpl();
|
static std::string currentImpl();
|
||||||
// Returns the root directory
|
|
||||||
static std::string homeImpl();
|
static std::string homeImpl();
|
||||||
|
static std::string configHomeImpl();
|
||||||
|
static std::string dataHomeImpl();
|
||||||
|
static std::string cacheHomeImpl();
|
||||||
|
static std::string tempHomeImpl();
|
||||||
static std::string tempImpl();
|
static std::string tempImpl();
|
||||||
|
static std::string configImpl();
|
||||||
static std::string nullImpl();
|
static std::string nullImpl();
|
||||||
static std::string systemImpl();
|
static std::string systemImpl();
|
||||||
static std::string expandImpl(const std::string& path);
|
static std::string expandImpl(const std::string& path);
|
||||||
|
|||||||
@@ -31,12 +31,35 @@ std::string PathImpl::currentImpl()
|
|||||||
return("\\");
|
return("\\");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
std::string PathImpl::homeImpl()
|
std::string PathImpl::homeImpl()
|
||||||
{
|
{
|
||||||
return("\\");
|
return("\\");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string PathImpl::configHomeImpl()
|
||||||
|
{
|
||||||
|
return homeImpl();
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string PathImpl::dataHomeImpl()
|
||||||
|
{
|
||||||
|
return homeImpl();
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string PathImpl::cacheHomeImpl()
|
||||||
|
{
|
||||||
|
return homeImpl();
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string PathImpl::tempHomeImpl()
|
||||||
|
{
|
||||||
|
return tempImpl();
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string PathImpl::configImpl()
|
||||||
|
{
|
||||||
|
return("\\");
|
||||||
|
}
|
||||||
|
|
||||||
std::string PathImpl::systemImpl()
|
std::string PathImpl::systemImpl()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user