Files
BloomPatched/src/Targets/TargetDescriptor.hpp
2022-08-30 02:51:10 +01:00

29 lines
665 B
C++

#pragma once
#include <string>
#include <cstdint>
#include <vector>
#include <map>
#include <QMetaType>
#include "TargetMemory.hpp"
#include "TargetRegister.hpp"
#include "TargetVariant.hpp"
namespace Bloom::Targets
{
struct TargetDescriptor
{
std::string name;
std::string id;
std::string vendorName;
std::map<TargetMemoryType, TargetMemoryDescriptor> memoryDescriptorsByType;
std::map<TargetRegisterType, TargetRegisterDescriptors> registerDescriptorsByType;
std::vector<TargetVariant> variants;
TargetMemoryType programMemoryType;
};
}
Q_DECLARE_METATYPE(Bloom::Targets::TargetDescriptor)