mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-21 02:00:33 +01:00
commit
02b5033834
@ -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
|
||||
{
|
||||
|
@ -152,7 +152,7 @@ inline void ThreadImpl::setAffinityImpl(unsigned cpu)
|
||||
throw Poco::NotImplementedException("Thread affinity not supported on this system");
|
||||
}
|
||||
|
||||
inline unsigned ThreadImpl::getAffinityImpl()
|
||||
inline unsigned ThreadImpl::getAffinityImpl() const
|
||||
{
|
||||
throw Poco::NotImplementedException("Thread affinity not supported on this system");
|
||||
}
|
||||
|
@ -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