Move code into a subdir(/src)
[bootcreen] / src / main.cpp
diff --git a/src/main.cpp b/src/main.cpp
new file mode 100644 (file)
index 0000000..19e5d29
--- /dev/null
@@ -0,0 +1,17 @@
+#include "bootscreen.h"
+#include "bootscreenR.h"
+
+int main(int argc, char *argv[])
+{
+    QString arg = argv[1];
+
+    if (arg == "--random")
+        BootScreenR br;
+    else{
+        QApplication app(argc, argv);
+        BootScreen bs;
+        bs.show();
+        return app.exec();
+    }
+
+}