aboutsummaryrefslogtreecommitdiff
path: root/lib/base/eenv.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base/eenv.h')
-rw-r--r--lib/base/eenv.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/base/eenv.h b/lib/base/eenv.h
new file mode 100644
index 00000000..3d149f5e
--- /dev/null
+++ b/lib/base/eenv.h
@@ -0,0 +1,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