29 lines
618 B
C++
29 lines
618 B
C++
#ifndef MAIN_ENTRY
|
|
#define MAIN_ENTRY
|
|
|
|
#include "MainWidget.h"
|
|
|
|
class CLinuxPack : public wxApp
|
|
{
|
|
public:
|
|
bool OnInit() override;
|
|
};
|
|
|
|
class CMainEntry : public CMainWidget
|
|
{
|
|
public:
|
|
explicit CMainEntry(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(649, 422),
|
|
long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString);
|
|
|
|
};
|
|
|
|
class CMainFrame : public wxFrame
|
|
{
|
|
private:
|
|
CMainEntry* entry_{};
|
|
public:
|
|
explicit CMainFrame(const wxString& title);
|
|
void selectBinaryFile(wxCommandEvent& event);
|
|
};
|
|
|
|
#endif |