00001 #ifndef __CHtmlString__ 00002 #define __CHtmlString__ 00003 00004 // =========================================================================== 00005 00006 #include "CSystemString.hpp" 00007 using Exponent::Basics::CSystemString; 00008 00009 // =========================================================================== 00010 00011 namespace Exponent 00012 { 00013 namespace Basics 00014 { 00034 class CHtmlString : public CSystemString 00035 { 00037 EXPONENT_CLASS_DECLARATION; 00040 // =========================================================================== 00041 00042 public: 00043 00044 // =========================================================================== 00045 00046 const static char *CHTML_STRING_WEB_LOCATION; 00047 const static char *CHTML_STRING_FILE_LOCATION; 00049 // =========================================================================== 00050 00055 CHtmlString(const CSystemString &string); 00056 00061 CHtmlString(const CHtmlString &string); 00062 00067 CHtmlString(const char *string = " "); 00068 00072 virtual ~CHtmlString(); 00073 00074 // =========================================================================== 00075 00080 bool isFileLocation(); 00081 00086 bool isWebLocation(); 00087 00091 void loadInBrowser(); 00092 00098 void appendLocation(const bool isHttp = true); 00099 00100 // =========================================================================== 00101 00102 }; 00103 } 00104 } 00105 #endif // End of CHtmlString