| 83 | } |
| 84 | |
| 85 | int main(int argc, char** argv) |
| 86 | { |
| 87 | |
| 88 | try |
| 89 | { |
| 90 | hue::Bridge hue = connectToBridge(); |
| 91 | |
| 92 | std::cout << "Connected to bridge. IP: " << hue.getBridgeIP() << ", username: " << hue.getUsername() << '\n'; |
| 93 | } |
| 94 | catch (...) |
| 95 | { } |
| 96 | |
| 97 | std::cout << "Press enter to exit\n"; |
| 98 | std::cin.get(); |
| 99 | |
| 100 | return 0; |
| 101 | } |
nothing calls this directly
no test coverage detected