00001 00009 #ifndef GFXTOOLS_H 00010 #define GFXTOOLS_H 00011 00012 #define OUTSIDE_GLUE_CORE 00013 #include <std/strings.H> 00014 00015 class GFXTOOLS 00016 { 00017 public: 00018 00019 // converts all occurances of $G in p to the value of the envvar $G 00020 // on Win32, uses the values $G_WIN rather than $G 00021 // and does the same for $GROOT as well.. 00022 00023 // convert both $G and $GROOT 00024 static str_ptr convertVars(str_ptr p); 00025 00026 static str_ptr getG() { return G; } 00027 static str_ptr getGROOT() { return GROOT; } 00028 00029 protected: 00030 00031 static str_ptr G; 00032 static str_ptr GROOT; 00033 00034 }; 00035 #endif