Improved hw zoom keys handling
[someplayer] / src / mainwindow.h
index 99f9a72..c0bfda8 100644 (file)
@@ -35,6 +35,9 @@
 #include "dbusclient.h"
 #include <QTimer>
 
 #include "dbusclient.h"
 #include <QTimer>
 
+#define ORIENTATION_LANDSCAPE 0
+#define ORIENTATION_PORTRAIT 1
+
 namespace Ui {
        class MainWindow;
 }
 namespace Ui {
        class MainWindow;
 }
@@ -95,6 +98,7 @@ private:
        DBusClient _dbus_client;
        bool _display_unlocked;
        quint32 _system_volume; // yes, it is here
        DBusClient _dbus_client;
        bool _display_unlocked;
        quint32 _system_volume; // yes, it is here
+       int _orientation; // 0 - landscape, 1 - portrait
 };
 
 #endif // MAINWINDOW_H
 };
 
 #endif // MAINWINDOW_H