This commit is contained in:
Nav
2022-01-11 21:12:25 +00:00
parent 023b655145
commit d462358b1e
21 changed files with 128 additions and 23 deletions

View File

@@ -40,6 +40,14 @@ namespace Bloom
const Targets::TargetMemoryAddressRange& addressRange
): name(std::move(name)), type(type), memoryDescriptor(memoryDescriptor), addressRange(addressRange) {};
virtual ~MemoryRegion() = default;
MemoryRegion(const MemoryRegion& other) = default;
MemoryRegion(MemoryRegion&& other) = default;
MemoryRegion& operator = (const MemoryRegion& other) = default;
MemoryRegion& operator = (MemoryRegion&& other) = default;
bool operator == (const MemoryRegion& other) const {
return this->id == other.id;
}

View File

@@ -31,7 +31,7 @@ namespace Bloom::Widgets
const Targets::TargetMemoryDescriptor& targetMemoryDescriptor,
const TargetMemoryInspectionPaneSettings& settings,
InsightWorker& insightWorker,
PanelWidget *parent
PanelWidget* parent
);
void refreshMemoryValues(std::optional<std::function<void(void)>> callback = std::nullopt);