EightBit/Z80/test/Configuration.h
Adrian Conlon 70c70af969 Sort out some exception and member initialisation rules.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2018-08-11 21:19:19 +01:00

41 lines
570 B
C++

#pragma once
#include <string>
#include <Register.h>
class Configuration {
public:
Configuration() noexcept;
bool isDebugMode() const {
return m_debugMode;
}
void setDebugMode(bool value) {
m_debugMode = value;
}
bool isProfileMode() const {
return m_profileMode;
}
void setProfileMode(bool value) {
m_profileMode = value;
}
std::string getRomDirectory() const {
return m_romDirectory;
}
EightBit::register16_t getStartAddress() const {
return 0x100;
}
private:
bool m_debugMode;
bool m_profileMode;
std::string m_romDirectory;
};