#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 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 mHistoryKeyName; String mSettingsKeyName; String mSerialKeyName; String mHistoryKeyShortName; String mSettingsEMAIL; String mM68KeyName; String mSerialPort; String mSerialBaud; String mSerialData; String mSerialParity; String mSerialStop; RegKey mRegKeySettings; RegKey mRegKeyHistory; RegKey mRegKeySerial; }; #endif