mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-02 09:49:48 +02:00
Add missing Path implementations for WINCE
This commit is contained in:
parent
6f0e180430
commit
1b8a7c1664
Foundation
@ -30,14 +30,18 @@ namespace Poco {
|
||||
class Foundation_API PathImpl
|
||||
{
|
||||
public:
|
||||
static std::string currentImpl();
|
||||
// Returns the root directory
|
||||
static std::string homeImpl();
|
||||
static std::string tempImpl();
|
||||
static std::string nullImpl();
|
||||
static std::string systemImpl();
|
||||
static std::string expandImpl(const std::string& path);
|
||||
static void listRootsImpl(std::vector<std::string>& roots);
|
||||
static std::string currentImpl();
|
||||
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 configImpl();
|
||||
static std::string nullImpl();
|
||||
static std::string systemImpl();
|
||||
static std::string expandImpl(const std::string& path);
|
||||
static void listRootsImpl(std::vector<std::string>& roots);
|
||||
|
||||
enum
|
||||
{
|
||||
|
@ -31,12 +31,35 @@ std::string PathImpl::currentImpl()
|
||||
return("\\");
|
||||
}
|
||||
|
||||
|
||||
std::string PathImpl::homeImpl()
|
||||
{
|
||||
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()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user