mirror of
https://github.com/libretro/Play-.git
synced 2025-02-26 06:25:30 +00:00
40 lines
788 B
C++
40 lines
788 B
C++
#pragma once
|
|
|
|
#include <unordered_map>
|
|
#include "OptionWnd.h"
|
|
#include "../ELF.h"
|
|
#include "ELFHeaderView.h"
|
|
#include "ELFSectionView.h"
|
|
#include "ELFProgramView.h"
|
|
#include "ELFSymbolView.h"
|
|
#include "win32/MDIChild.h"
|
|
|
|
class CELFView : public COptionWnd<Framework::Win32::CMDIChild>
|
|
{
|
|
public:
|
|
CELFView(HWND);
|
|
virtual ~CELFView();
|
|
|
|
void SetELF(CELF*);
|
|
|
|
protected:
|
|
long OnSysCommand(unsigned int, LPARAM) override;
|
|
|
|
void OnItemAppearing(HTREEITEM) override;
|
|
|
|
private:
|
|
typedef std::unordered_map<HTREEITEM, int> SectionItemMap;
|
|
|
|
void PopulateList();
|
|
void Delete();
|
|
|
|
CELF* m_pELF;
|
|
CELFHeaderView* m_pHeaderView;
|
|
CELFSymbolView* m_pSymbolView;
|
|
CELFSectionView* m_pSectionView;
|
|
CELFProgramView* m_pProgramView;
|
|
|
|
SectionItemMap m_sectionItems;
|
|
SectionItemMap m_programItems;
|
|
};
|