Mercurial > hg > sonic-visualiser
comparison main/main.cpp @ 1:40116f709d3b
* Reorganising code base. This revision probably should compile once more.
author | Chris Cannam |
---|---|
date | Mon, 31 Jul 2006 14:05:22 +0000 |
parents | cd5d7ff8ef38 |
children | 0a687ed1b50f |
comparison
equal
deleted
inserted
replaced
0:cd5d7ff8ef38 | 1:40116f709d3b |
---|---|
13 COPYING included with this distribution for more information. | 13 COPYING included with this distribution for more information. |
14 */ | 14 */ |
15 | 15 |
16 #include "MainWindow.h" | 16 #include "MainWindow.h" |
17 | 17 |
18 #include "base/System.h" | 18 #include "system/System.h" |
19 #include "system/Init.h" | |
19 #include "base/TempDirectory.h" | 20 #include "base/TempDirectory.h" |
20 #include "base/PropertyContainer.h" | 21 #include "base/PropertyContainer.h" |
21 #include "base/Preferences.h" | 22 #include "base/Preferences.h" |
22 #include "fileio/ConfigFile.h" | 23 #include "base/ConfigFile.h" |
23 | 24 |
24 #include <QMetaType> | 25 #include <QMetaType> |
25 #include <QApplication> | 26 #include <QApplication> |
26 #include <QDesktopWidget> | 27 #include <QDesktopWidget> |
27 #include <QMessageBox> | 28 #include <QMessageBox> |
44 cleanupMutex.lock(); | 45 cleanupMutex.lock(); |
45 std::cerr << "signalHandler: cleaning up and exiting" << std::endl; | 46 std::cerr << "signalHandler: cleaning up and exiting" << std::endl; |
46 TempDirectory::getInstance()->cleanup(); | 47 TempDirectory::getInstance()->cleanup(); |
47 exit(0); // without releasing mutex | 48 exit(0); // without releasing mutex |
48 } | 49 } |
49 | |
50 extern void svSystemSpecificInitialisation(); | |
51 | 50 |
52 int | 51 int |
53 main(int argc, char **argv) | 52 main(int argc, char **argv) |
54 { | 53 { |
55 QApplication application(argc, argv); | 54 QApplication application(argc, argv); |