MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / main

Function main

dependencies/hueplusplus-1.0.0/examples/BridgeSetup.cpp:85–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85int 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}

Callers

nothing calls this directly

Calls 4

getBridgeIPMethod · 0.80
getUsernameMethod · 0.80
connectToBridgeFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected