1 #ifndef PLATFORM_ALL_H
2 #define PLATFORM_ALL_H
3 
4 #include <QWidget>
5 #include <QString>
6 
7 class DeviceManager;
8 class ScreenSaver;
9 
10 namespace Platform {
11     extern const bool isMac;
12     extern const bool isWindows;
13     extern const bool isUnix;
14 
15     DeviceManager *deviceManager();
16     ScreenSaver *screenSaver();
17 
18     QString resourcesPath();
19     QString fixedConfigPath(QString configPath);
20     QString sanitizedFilename(QString fileName);
21     bool tiledDesktopsExist();
22     bool tilingDesktopActive();
23     void disableAutomaticAccel(QWidget *what);
24 }
25 
26 #endif // PLATFORM_ALL_H
27