Play-/tools/ElfView/ElfViewEx.h
Jean-Philip Desjardins 1d9c425663 Refactor ELF support.
Allow ELF32/ELF64 to coexist and allow ElfView to load both.
2022-07-22 17:10:27 -04:00

16 lines
287 B
C++

#pragma once
#include <QMdiArea>
#include "ELFView.h"
#include "filesystem_def.h"
template <typename ElfType>
class CElfViewEx : public CELFView<ElfType>
{
public:
CElfViewEx(QMdiArea*, const fs::path&);
virtual ~CElfViewEx() = default;
private:
std::unique_ptr<ElfType> m_elf;
};