00001 #ifndef __CRegistryInfo__ 00002 #define __CRegistryInfo__ 00003 00004 #include "../Basics/CString.hpp" 00005 using Exponent::Basics::CString; 00006 00007 // =========================================================================== 00008 00009 namespace Exponent 00010 { 00011 namespace Host 00012 { 00031 class CRegistryInfo : public CCountedObject 00032 { 00034 EXPONENT_CLASS_DECLARATION; 00037 // =========================================================================== 00038 00039 public: 00040 00041 // =========================================================================== 00042 00048 CRegistryInfo(const CString &name, const CString &value); 00049 00053 virtual ~CRegistryInfo(); 00054 00055 // =========================================================================== 00056 00061 void setName(const CString &name); 00062 00067 void setValue(const CString &value); 00068 00069 // =========================================================================== 00070 00075 const CString &getName() const; 00076 00081 const CString &getValue() const; 00082 00083 // =========================================================================== 00084 00085 protected: 00086 00087 // =========================================================================== 00088 00089 CString m_keyName; 00090 CString m_keyValue; 00092 }; 00093 } 00094 } 00095 #endif // End of CRegistryInfo.hpp