1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#ifndef __lib_base_paths_h #define __lib_base_paths_h #include <string> class eEnv { private: static bool initialized; static void initialize(); static int resolveVar(std::string &dest, const char *src); static int resolveVar(std::string &dest, const std::string &src); public: static std::string resolve(const std::string &path); }; #endif