2007-10-25 21:42:14 +00:00
|
|
|
#ifndef _ELFVIEWFRAME_H_
|
|
|
|
#define _ELFVIEWFRAME_H_
|
|
|
|
|
|
|
|
#include "win32/MDIFrame.h"
|
2007-10-26 18:24:20 +00:00
|
|
|
#include "ElfViewEx.h"
|
2007-10-25 21:42:14 +00:00
|
|
|
|
|
|
|
class CElfViewFrame : public Framework::Win32::CMDIFrame
|
|
|
|
{
|
|
|
|
public:
|
2018-04-30 21:01:23 +01:00
|
|
|
CElfViewFrame(const char*);
|
|
|
|
virtual ~CElfViewFrame();
|
2011-06-27 00:33:18 +00:00
|
|
|
|
|
|
|
protected:
|
2018-04-30 21:01:23 +01:00
|
|
|
long OnCommand(unsigned short, unsigned short, HWND);
|
|
|
|
static HRESULT CALLBACK TaskDialogCallback(HWND, UINT, WPARAM, LPARAM, LONG_PTR);
|
2007-10-25 21:42:14 +00:00
|
|
|
|
|
|
|
private:
|
2018-04-30 21:01:23 +01:00
|
|
|
void OpenElf();
|
|
|
|
void Load(const char*);
|
|
|
|
void CloseCurrentFile();
|
|
|
|
void ShowAboutBox();
|
2011-06-27 00:33:18 +00:00
|
|
|
|
2018-04-30 21:01:23 +01:00
|
|
|
CElfViewEx* m_elfView;
|
2007-10-25 21:42:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|