From 230b4ebe94400ac7af47731e5c2b965b0c5fb2da Mon Sep 17 00:00:00 2001 From: Itay Grudev Date: Sun, 23 Dec 2012 00:12:38 +0200 Subject: Add base files --- main.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 main.cpp (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..101534f --- /dev/null +++ b/main.cpp @@ -0,0 +1,11 @@ +#include "singleapplication.h" + +int main(int argc, char *argv[]) +{ + SingleApplication app(argc, argv); + + // Is another instance of the program is already running + if(!app.shouldContinue())return 0; + + return app.exec(); +} -- cgit v1.2.1