This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
ESGRAF48/source/CheckableTest/CheckableTest.h

25 lines
427 B
C
Raw Permalink Normal View History

#pragma once
#include "CheckableItems.h"
#include <QString>
class CheckableTest
{
private:
CheckableItems m_items;
QString m_name;
public:
CheckableTest(const char *name, std::initializer_list<std::string> items);
size_t size() const;
const QString &name() const;
const CheckableItems &items() const;
CheckableItems &items();
2019-01-13 17:44:07 +00:00
unsigned int getPoints() const;
};
using CheckableTests = std::vector<CheckableTest>;