515:9e18cb8c4412 | 516:4b31c74666d7 |
---|---|
29 #ifndef STOCK_H | 29 #ifndef STOCK_H |
30 #define STOCK_H | 30 #define STOCK_H |
31 | 31 |
32 #include "../ui/stock.h" | 32 #include "../ui/stock.h" |
33 | 33 |
34 class UiStockItem { | |
35 public: | |
36 | |
37 char *label; | |
38 char *icon_name; | |
39 | |
40 UiStockItem(char *label, char *icon_name); | |
41 }; | |
42 | 34 |
43 | |
44 void ui_stock_init(); | |
45 void ui_add_stock_item(char *id, char *label, char *icon); | |
46 UiStockItem* ui_get_stock_item(char *id); | |
47 | 35 |
48 #endif /* STOCK_H */ | 36 #endif /* STOCK_H */ |
49 | 37 |