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 #import "toolkit.h"
30 #import "../ui/stock.h"
31 #import <ucx/map.h>
32
33 typedef struct UiStockItem {
34 NSString *label;
35 NSString *keyEquivalent;
36 NSImage *image;
37 } UiStockItem;
38
39 void ui_stock_init();
40
41 void ui_add_stock_item(
char *stock_id, NSString *label, NSString *keyEquivalent, NSImage *image);
42
43 UiStockItem* ui_get_stock_item(
char *stock_id);
44