diff --git a/Foundation/include/Poco/Path_WINCE.h b/Foundation/include/Poco/Path_WINCE.h index 612c583bd..cb7d2aacd 100644 --- a/Foundation/include/Poco/Path_WINCE.h +++ b/Foundation/include/Poco/Path_WINCE.h @@ -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& 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& roots); enum { diff --git a/Foundation/src/Path_WINCE.cpp b/Foundation/src/Path_WINCE.cpp index 87dda31c5..96b7c67fb 100644 --- a/Foundation/src/Path_WINCE.cpp +++ b/Foundation/src/Path_WINCE.cpp @@ -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() {