46 lines
1.0 KiB
C++
46 lines
1.0 KiB
C++
#ifndef _ALADIN_APPREG_HPP_
|
|
#define _ALADIN_APPREG_HPP_
|
|
#ifndef _COMMON_REGKEY_HPP_
|
|
#include <common/regkey.hpp>
|
|
#endif
|
|
#ifndef _COMMON_STRING_HPP_
|
|
#include <common/string.hpp>
|
|
#endif
|
|
#ifndef _ALADIN_ALADINRC_HPP_
|
|
#include <aladin/aladinrc.hpp>
|
|
#endif
|
|
|
|
class AppReg
|
|
{
|
|
public:
|
|
AppReg(void);
|
|
AppReg(const AppReg &someAppReg);
|
|
virtual ~AppReg();
|
|
AppReg &operator=(const AppReg &someAppReg);
|
|
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);
|
|
BOOL isOkay(void)const;
|
|
private:
|
|
void guarantee(void);
|
|
|
|
String mSerialKeyName;
|
|
String mSettingsEMAIL;
|
|
String mAladinKeyName;
|
|
String mSerialPort;
|
|
String mSerialBaud;
|
|
String mSerialData;
|
|
String mSerialParity;
|
|
String mSerialStop;
|
|
RegKey mRegKeySerial;
|
|
};
|
|
#endif
|