Add missing constructor

This commit is contained in:
Alexander Bock
2018-11-14 10:17:20 -05:00
parent 45f5183683
commit 9d0ef13cb5

View File

@@ -84,13 +84,21 @@ public:
, description(desc)
{}
constexpr PropertyInfo(const char* ident, const char* gui, const char* desc,
Visibility vis)
: identifier(ident)
, guiName(gui)
, description(desc)
, visibility(vis)
{}
/// The unique identifier that is part of the fully qualified URI of this Property
const char* identifier;
/// The name that is displayed in the user interface
const char* guiName;
/// The user facing description of this Property
const char* description;
/// Determins the visibility of this Property in the user interface
/// Determines the visibility of this Property in the user interface
Visibility visibility = Visibility::All;
};