#ifndef CONFIG_H #define CONFIG_H #include #include class Config { public: // notes // copy: scp -P 2222 /tmp/grid.dat kazu@192.168.24.11:/storage/sdcard1/YASMIN/maps/car/ // all: scp -P 2222 -r /apps/android/workspace/YASMIN_DATA/* kazu@192.168.24.11:/storage/sdcard1/YASMIN/ /** get the directory where maps are stored */ static inline std::string getMapDir() { #ifdef ANDROID // const std::string folder = getenv("EXTERNAL_STORAGE") + std::string("/YASMIN/maps/"); // this is NOT the sdcard?! // qDebug(folder.c_str()); // return folder; return "/storage/sdcard1/YASMIN/maps/"; #else return "/apps/android/workspace/YASMIN_DATA/maps/"; #endif } }; #endif // CONFIG_H