Mercurial > dedupe
comparison Apps/DeDupe.cpp @ 30:1072257d2bab
Refactor Apps/Binaries into a separate directory.
| author | Tom Fredrik Blenning Klaussen <bfg@blenning.no> |
|---|---|
| date | Thu, 06 Sep 2012 18:39:01 +0200 |
| parents | DeDupe.cpp@b2c2c2bf2bbd |
| children | f711ddb56ae7 |
comparison
equal
deleted
inserted
replaced
| 29:ad9c92d782dd | 30:1072257d2bab |
|---|---|
| 1 #include "DataController.hpp" | |
| 2 #include "Exception/Exception.hpp" | |
| 3 | |
| 4 #include <QtGui/QApplication> | |
| 5 | |
| 6 #include <iostream> | |
| 7 | |
| 8 int main(int argc, char *argv[]) { | |
| 9 | |
| 10 try { | |
| 11 QApplication app(argc, argv); | |
| 12 | |
| 13 DataController dc(true); | |
| 14 | |
| 15 return app.exec(); | |
| 16 } | |
| 17 catch (Exception& e) { | |
| 18 std::cerr << "Unrecoverable error: " << e.toString().toStdString(); | |
| 19 exit(1); | |
| 20 } | |
| 21 | |
| 22 } | |
| 23 | |
| 24 |
