ESGRAF48/source/Genus/CheckableItem.h

18 lines
267 B
C
Raw Normal View History

#pragma once
#include <string>
class CheckableItem
{
private:
bool m_checked = false;
std::string m_text;
public:
CheckableItem(const std::string &text);
std::string getText() const;
bool isChecked() const;
void setState(bool checked);
};