1
0
forked from cheng/wallet
wallet/display_wallet.h
Cheng e3ba96799c
Now UI is working well enough to finally introduce secret management
First thing that is actually part of the final use case
2022-05-22 19:36:23 +10:00

18 lines
468 B
C++

#pragma once
class display_wallet : public wxPanel
{
public:
display_wallet(wxWindow*, wxFileName&);
~display_wallet();
private:
typedef MenuLink<display_wallet> MenuLink;
std::unique_ptr<ISqlite3> m_db;
ristretto255::CMasterSecret m_MasterSecret;
wxBoxSizer* m_lSizer;
wxBoxSizer* m_rSizer;
void close_menu_event_handler(wxCommandEvent&);
void add_name_event_handler(wxCommandEvent&);
MenuLink m_menuitem_add_name;
void OnClose(wxCloseEvent& event);
};