1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
crate::ix!();
pub const EXE_NAME: &'static str = "bitcoin-gui";
pub struct BitcoinGuiInit {
node: NodeContext,
ipc: Box<dyn Ipc>,
}
impl Init for BitcoinGuiInit {
fn init(&mut self) -> bool { todo!(); }
}
impl BitcoinGuiInit {
pub fn new(arg0: *const u8) -> Self {
todo!();
}
pub fn make_node(&mut self) -> Box<dyn NodeInterface> {
todo!();
}
pub fn make_chain(&mut self) -> Box<dyn ChainInterface> {
todo!();
}
pub fn make_wallet_client(&mut self, chain: &mut dyn ChainInterface) -> Box<dyn WalletClient> {
todo!();
}
pub fn make_echo(&mut self) -> Box<dyn Echo> {
todo!();
}
pub fn ipc(&mut self) -> *mut dyn Ipc {
todo!();
}
}
pub fn make_gui_init(
argc: i32,
argv: &[*mut u8]) -> Box<dyn Init> {
todo!();
}