You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
299 B
C
21 lines
299 B
C
3 years ago
|
#ifndef ITEM_H
|
||
|
#define ITEM_H
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
class Item
|
||
|
{
|
||
|
public:
|
||
|
explicit Item(const std::string& label);
|
||
|
|
||
|
const std::string& label() const;
|
||
|
bool isReceived() const;
|
||
|
void setReceived(bool received);
|
||
|
|
||
|
private:
|
||
|
std::string _label;
|
||
|
bool _is_received;
|
||
|
};
|
||
|
|
||
|
#endif // ITEM_H
|