Add specific type to propertyowners

This commit is contained in:
Ylva Selling
2023-03-16 10:32:37 -04:00
parent 064825060c
commit bd5f1380c5
14 changed files with 50 additions and 22 deletions

View File

@@ -102,6 +102,13 @@ public:
*/
const std::string& identifier() const;
/**
* Returns the type of this PropertyOwner.
*
* \return The type of this PropertyOwner
*/
const std::string& type() const;
/**
* Sets the user-facing name of this PropertyOwner. This name does not have to be
* unique, but it is recommended to be.
@@ -304,6 +311,8 @@ protected:
std::string _guiName;
/// The description for this PropertyOwner
std::string _description;
/// The type for this PropertyOwner
std::string _type;
/// The owner of this PropertyOwner
PropertyOwner* _owner = nullptr;