#include "mainwindow.h" #include "oven.h" #include "ovencontroller.h" #include "udphandler.h" #include int main(int argc, char *argv[]) { QApplication a(argc, argv); Oven *oven = Oven::getInstance(); OvenController *interface = new OvenController(oven, oven); oven->setInterface(interface); UdpHandler *udp = UdpHandler::getInstance(); interface->setUdpHandler(udp); OvenStatistics::getInstance(oven); MainWindow w; w.showFullScreen(); return a.exec(); }