2021-04-04 21:04:12 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
2021-05-31 01:01:14 +01:00
|
|
|
#include <string>
|
|
|
|
|
#include <QString>
|
|
|
|
|
#include <map>
|
|
|
|
|
|
|
|
|
|
namespace Bloom::Targets::TargetDescription
|
2021-04-04 21:04:12 +01:00
|
|
|
{
|
2021-05-31 01:01:14 +01:00
|
|
|
struct Property
|
|
|
|
|
{
|
2021-04-04 21:04:12 +01:00
|
|
|
std::string name;
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* We use QString here as we're dealing with arbitrary values and QString provides many helpful
|
|
|
|
|
* functions to make this easier.
|
|
|
|
|
*/
|
|
|
|
|
QString value;
|
|
|
|
|
};
|
|
|
|
|
|
2021-05-31 01:01:14 +01:00
|
|
|
struct PropertyGroup
|
|
|
|
|
{
|
2021-04-04 21:04:12 +01:00
|
|
|
std::string name;
|
|
|
|
|
std::map<std::string, Property> propertiesMappedByName;
|
|
|
|
|
};
|
|
|
|
|
}
|