#ifndef _M68HC11_M68REG_HPP_ #define _M68HC11_M68REG_HPP_ #ifndef _COMMON_REGKEY_HPP_ #include #endif #ifndef _COMMON_BLOCK_HPP_ #include #endif #ifndef _COMMON_STRING_HPP_ #include #endif #ifndef _M68HC11_M68HC11_HPP_ #include #endif class M68Reg { public: M68Reg(void); M68Reg(const M68Reg &someM68Reg); virtual ~M68Reg(); M68Reg &operator=(const M68Reg &someM68Reg); bool getHistory(Block &nameList); bool setHistory(Block &nameList); bool insertHistory(const String &strName); bool getIncludePath(Block &pathDirList); bool setIncludePath(Block &pathDirList); bool removeIncludePath(void); bool setBaud(const String &strBaud); String getBaud(void); bool setParity(const String &strParity); String getParity(void); bool setDataBits(const String &strDataBits); String getDataBits(void); bool setStopBits(const String &stopBits); String getStopBits(void); bool setPort(const String &strPort); String getPort(void); String getSerialSettings(void); String email(void); void email(const String &email); BOOL isOkay(void)const; private: enum {MaxCachedNames=5}; void guarantee(void); void getCacheNames(void); Block mCachedNames; String mPathDirKeyName; String mHistoryKeyName; String mSettingsKeyName; String mSerialKeyName; String mHistoryKeyShortName; String mPathDirKeyShortName; String mSettingsEMAIL; String mM68KeyName; String mSerialPort; String mSerialBaud; String mSerialData; String mSerialParity; String mSerialStop; RegKey mRegKeySettings; RegKey mRegKeyHistory; RegKey mRegKeyPathDir; RegKey mRegKeySerial; }; #endif