mirror of
https://github.com/stacksmashing/LPCClocklessAnalyzer.git
synced 2026-01-31 03:18:38 +03:00
28 lines
695 B
C
28 lines
695 B
C
|
|
#ifndef SIMPLESERIAL_ANALYZER_SETTINGS
|
||
|
|
#define SIMPLESERIAL_ANALYZER_SETTINGS
|
||
|
|
|
||
|
|
#include <AnalyzerSettings.h>
|
||
|
|
#include <AnalyzerTypes.h>
|
||
|
|
|
||
|
|
class SimpleSerialAnalyzerSettings : public AnalyzerSettings
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
SimpleSerialAnalyzerSettings();
|
||
|
|
virtual ~SimpleSerialAnalyzerSettings();
|
||
|
|
|
||
|
|
virtual bool SetSettingsFromInterfaces();
|
||
|
|
void UpdateInterfacesFromSettings();
|
||
|
|
virtual void LoadSettings( const char* settings );
|
||
|
|
virtual const char* SaveSettings();
|
||
|
|
|
||
|
|
|
||
|
|
Channel mInputChannel;
|
||
|
|
U32 mBitRate;
|
||
|
|
|
||
|
|
protected:
|
||
|
|
std::auto_ptr< AnalyzerSettingInterfaceChannel > mInputChannelInterface;
|
||
|
|
std::auto_ptr< AnalyzerSettingInterfaceInteger > mBitRateInterface;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif //SIMPLESERIAL_ANALYZER_SETTINGS
|