// // ResourceUtilities.h // SteveMaggieCpp // // Created by Katarzyna Kalinowska-Górska on 23.06.2017. // // #ifndef ResourceUtilities_h #define ResourceUtilities_h #include "json/document.h" #include #include class ResourceUtilities { public: static ResourceUtilities& getInstance() { static ResourceUtilities instance; return instance; } void setDeviceSpecificFolderName(std::string folderName){ DeviceSpecificFolderName = folderName; } std::string getDeviceSpecificFolderName(){return DeviceSpecificFolderName;} std::string getDownloadedResourcesPath(bool deviceDependentFiles = true); std::string getFullPathForDownloadedFile(const std::string& path, bool isDeviceDependent = true); std::vector getFullPathsForDownloadedFiles(const std::vector& paths, bool areDeviceDependent = true); //std::vector getFullPathsForDownloadedFiles(const std::vector& paths, bool areDeviceDependent = true); protected: std::string DeviceSpecificFolderName; }; #endif /* ResourceUtilities_h */