add eEnv::resolve() to resolve install paths at runtime
[openblackhole/openblackhole-enigma2.git] / lib / base / eenv.h
1 #ifndef __lib_base_paths_h
2 #define __lib_base_paths_h
3
4 #include <string>
5
6 class eEnv {
7 private:
8         static bool initialized;
9         static void initialize();
10         static int resolveVar(std::string &dest, const char *src);
11         static int resolveVar(std::string &dest, const std::string &src);
12 public:
13         static std::string resolve(const std::string &path);
14 };
15
16 #endif