aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/LSession.h
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-desktop/LSession.h')
-rw-r--r--lumina-desktop/LSession.h24
1 files changed, 19 insertions, 5 deletions
diff --git a/lumina-desktop/LSession.h b/lumina-desktop/LSession.h
index 3068aac4..8814ca3c 100644
--- a/lumina-desktop/LSession.h
+++ b/lumina-desktop/LSession.h
@@ -18,6 +18,9 @@
#include <QDesktopWidget>
#include <QList>
#include <QThread>
+#include <Phonon/MediaObject>
+#include <Phonon/AudioOutput>
+#include <QThread>
#include "Globals.h"
#include "AppMenu.h"
@@ -66,19 +69,30 @@ public:
}
static void LaunchApplication(QString cmd);
- static AppMenu* applicationMenu();
- static void systemWindow();
- static SettingsMenu* settingsMenu();
+
+ AppMenu* applicationMenu();
+ void systemWindow();
+ SettingsMenu* settingsMenu();
- static QSettings* sessionSettings();
+ QSettings* sessionSettings();
//Play System Audio
- static void playAudioFile(QString filepath);
+ void playAudioFile(QString filepath);
private:
WMProcess *WM;
QList<LDesktop*> DESKTOPS;
QFileSystemWatcher *watcher;
+
+ //Internal variable for global usage
+ AppMenu *appmenu;
+ SettingsMenu *settingsmenu;
+ QTranslator *currTranslator;
+ Phonon::MediaObject *mediaObj;
+ Phonon::AudioOutput *audioOut;
+ QThread *audioThread;
+ QSettings *sessionsettings;
+
//System Tray Variables
WId SystemTrayID, VisualTrayID;
int TrayDmgEvent, TrayDmgError;
bgstack15