blob: 07b7b740d3c95eef0561fa8da8a864d30c158d43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#pragma once
#include "String.h"
class Object {
private:
String name;
String description;
public:
void set_name(const String & name);
const String & get_name() const;
virtual const String & get_displayname() const;
void set_description(const String & description);
const String & get_description() const;
void set_hidden(bool hidden);
bool get_hidden();
protected:
friend class ObjectFactory;
Object(const String & name, const String & description);
public:
virtual ~Object() = default;
protected:
bool hidden = false;
};
|