/******************************************************************************************\ * * * main.cpp * * * * Main function for OpenAuraSDK GUI project * * * \******************************************************************************************/ #include "OpenRGB.h" #include "RGBController.h" #include "i2c_smbus.h" #include #include #include #include "OpenRGBDialog2.h" extern std::vector busses; extern std::vector rgb_controllers; /******************************************************************************************\ * * * main * * * * Main function. Detects busses and Aura controllers, then opens the main window * * * \******************************************************************************************/ int main(int argc, char* argv[]) { DetectRGBControllers(); QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplication a(argc, argv); Ui::OpenRGBDialog2 dlg(busses, rgb_controllers); dlg.show(); return a.exec(); }