Enable tracing to file. Attempt to fix last position restoration on S^3.
[dorian] / platform.h
1 #ifndef PLATFORM_H
2 #define PLATFORM_H
3
4 #include <QString>
5
6 class QWidget;
7
8 /** Platform abstractions. */
9 class Platform
10 {
11 public:
12     static QString dbPath();
13     static QString icon(const QString &name);
14     static void restart(char *argv[]);
15     static QString version();
16     static QString downloadDir();
17     static QString defaultFont();
18     static void information(const QString &label, QWidget *parent = 0);
19     static void showBusy(QWidget *w, bool isBusy);
20     static QString traceFileName();
21 };
22
23 #endif // PLATFORM_H