Zane Shelley | 5a26661 | 2019-08-15 16:23:53 -0500 | [diff] [blame] | 1 | #include <hei_main.hpp> |
Zane Shelley | 465e0b3 | 2019-04-17 10:15:39 -0500 | [diff] [blame] | 2 | |
Zane Shelley | 465e0b3 | 2019-04-17 10:15:39 -0500 | [diff] [blame] | 3 | int main() |
4 | { | ||||
Zane Shelley | b406de4 | 2019-09-09 16:10:38 -0500 | [diff] [blame] | 5 | using namespace libhei; |
6 | |||||
Zane Shelley | fe27b65 | 2019-10-28 11:33:07 -0500 | [diff] [blame] | 7 | void* buffer = nullptr; |
Zane Shelley | a61f4c5 | 2019-08-01 13:58:49 -0500 | [diff] [blame] | 8 | size_t sz_buffer = 0; |
Zane Shelley | 465e0b3 | 2019-04-17 10:15:39 -0500 | [diff] [blame] | 9 | |
Zane Shelley | 83da245 | 2019-10-25 15:45:34 -0500 | [diff] [blame] | 10 | initialize(buffer, sz_buffer); |
Zane Shelley | a61f4c5 | 2019-08-01 13:58:49 -0500 | [diff] [blame] | 11 | |
Zane Shelley | b406de4 | 2019-09-09 16:10:38 -0500 | [diff] [blame] | 12 | Chip c1, c2; |
Zane Shelley | a61f4c5 | 2019-08-01 13:58:49 -0500 | [diff] [blame] | 13 | |
Zane Shelley | b406de4 | 2019-09-09 16:10:38 -0500 | [diff] [blame] | 14 | std::vector<Chip> chipList; |
15 | chipList.push_back(c1); | ||||
16 | chipList.push_back(c2); | ||||
Zane Shelley | 5a26661 | 2019-08-15 16:23:53 -0500 | [diff] [blame] | 17 | |
Zane Shelley | b406de4 | 2019-09-09 16:10:38 -0500 | [diff] [blame] | 18 | IsolationData isoData; |
19 | |||||
Zane Shelley | 83da245 | 2019-10-25 15:45:34 -0500 | [diff] [blame] | 20 | isolate(chipList, isoData); |
Zane Shelley | b406de4 | 2019-09-09 16:10:38 -0500 | [diff] [blame] | 21 | |
22 | uninitialize(); | ||||
Zane Shelley | 465e0b3 | 2019-04-17 10:15:39 -0500 | [diff] [blame] | 23 | |
24 | return 0; | ||||
25 | } |