2022-02-16 00:53:01 -05:00
|
|
|
|
#pragma once
|
|
|
|
|
class display_wallet : public wxPanel
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
display_wallet(wxWindow*, wxFileName&);
|
|
|
|
|
~display_wallet();
|
|
|
|
|
private:
|
2022-04-02 22:07:41 -04:00
|
|
|
|
typedef MenuLink<display_wallet> MenuLink;
|
2022-02-16 00:53:01 -05:00
|
|
|
|
std::unique_ptr<ISqlite3> m_db;
|
|
|
|
|
ristretto255::CMasterSecret m_MasterSecret;
|
|
|
|
|
wxBoxSizer* m_lSizer;
|
|
|
|
|
wxBoxSizer* m_rSizer;
|
2022-04-02 22:07:41 -04:00
|
|
|
|
void close_menu_event_handler(wxCommandEvent&);
|
2022-05-07 00:40:17 -04:00
|
|
|
|
void add_name_event_handler(wxCommandEvent&);
|
2022-04-02 22:07:41 -04:00
|
|
|
|
MenuLink m_menuitem_close;
|
2022-05-07 00:40:17 -04:00
|
|
|
|
MenuLink m_menuitem_add_name;
|
2022-04-02 22:07:41 -04:00
|
|
|
|
void OnClose(wxCloseEvent& event);
|
2022-02-16 00:53:01 -05:00
|
|
|
|
};
|