forked from lthn/blockchain
deeplinks ready on application level
This commit is contained in:
parent
10e0137d0e
commit
9ea35d3a2f
3 changed files with 14 additions and 2 deletions
|
|
@ -836,6 +836,13 @@ bool MainWindow::handle_deeplink_params_in_commandline()
|
|||
|
||||
bool MainWindow::init_backend(int argc, char* argv[])
|
||||
{
|
||||
if (argc > 1)
|
||||
{
|
||||
std::string msg = "Command_line 1: ";
|
||||
msg += argv[1];
|
||||
message_box(msg.c_str());
|
||||
}
|
||||
|
||||
TRY_ENTRY();
|
||||
std::string command_line_fail_details;
|
||||
if (!m_backend.init_command_line(argc, argv, command_line_fail_details))
|
||||
|
|
@ -872,7 +879,7 @@ bool MainWindow::init_backend(int argc, char* argv[])
|
|||
|
||||
if (!init_ipc_server())
|
||||
{
|
||||
this->show_msg_box("Failed to initialize IP server, check debug logs for more details.");
|
||||
this->show_msg_box("Failed to initialize IPC server, check debug logs for more details.");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -224,7 +224,7 @@ private:
|
|||
void contextMenuEvent(QContextMenuEvent * event);
|
||||
void changeEvent(QEvent *e);
|
||||
void on_maximized();
|
||||
|
||||
bool handle_deeplink_params_in_commandline();
|
||||
//void setOrientation(Qt::ScreenOrientation orientation);
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -990,6 +990,11 @@ bool wallets_manager::get_opened_wallets(std::list<view::open_wallet_response>&
|
|||
return true;
|
||||
}
|
||||
|
||||
const po::variables_map& wallets_manager::get_arguments()
|
||||
{
|
||||
return m_vm;
|
||||
}
|
||||
|
||||
std::string wallets_manager::get_recent_transfers(size_t wallet_id, uint64_t offset, uint64_t count, view::transfers_array& tr_hist, bool exclude_mining_txs)
|
||||
{
|
||||
GET_WALLET_BY_ID(wallet_id, w);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue