From f66536d84b38aa0eb46e928fdaf13d7da790b2ee Mon Sep 17 00:00:00 2001 From: daniel-Jones Date: Sun, 4 Jun 2017 16:26:56 +0930 Subject: added HTML/JS/PHP pages/scripts to allow RGB changes over a web page. Integrated a server into the application to allow incoming connections and receive commands --- qt/ircbot/main.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 qt/ircbot/main.cpp (limited to 'qt/ircbot/main.cpp') diff --git a/qt/ircbot/main.cpp b/qt/ircbot/main.cpp new file mode 100644 index 0000000..7022866 --- /dev/null +++ b/qt/ircbot/main.cpp @@ -0,0 +1,13 @@ +#include +#include +#include +#include + +int main(int argc, char *argv[]) +{ + QCoreApplication a(argc, argv); + QtBot qtbot; + QObject::connect(&qtbot, SIGNAL(done()), &a, SLOT(quit()), Qt::QueuedConnection); + QTimer::singleShot(0, &qtbot, SLOT(setup())); + return a.exec(); +} -- cgit v1.2.3