renamed the src into simplexbmcremote-0.8.1 to simplify package building
[simple-xmbc-rem] / simplexbmcremote-0.8.1 / mainwindow.h
diff --git a/simplexbmcremote-0.8.1/mainwindow.h b/simplexbmcremote-0.8.1/mainwindow.h
new file mode 100644 (file)
index 0000000..383c83d
--- /dev/null
@@ -0,0 +1,61 @@
+// checksum 0x9a77 version 0x20001
+/*
+  This file was generated by the Mobile Qt Application wizard of Qt Creator.
+  MainWindow is a convenience class containing mobile device specific code
+  such as screen orientation handling.
+  It is recommended not to modify this file, since newer versions of Qt Creator
+  may offer an updated version of it.
+*/
+
+#ifndef MAINWINDOW_H
+#define MAINWINDOW_H
+
+#include <QMainWindow>
+
+#include "xbmc.h"
+
+namespace Ui {
+    class MainWindow;
+}
+
+class MainWindow : public QMainWindow
+{
+    Q_OBJECT
+public:
+    enum ScreenOrientation {
+        ScreenOrientationLockPortrait,
+        ScreenOrientationLockLandscape,
+        ScreenOrientationAuto
+    };
+
+    explicit MainWindow(QWidget *parent = 0);
+    virtual ~MainWindow();
+
+    void setOrientation(ScreenOrientation orientation);
+    void showExpanded();
+
+private slots:
+    void on_actionSetup_triggered();
+
+    void on_rightBtn_clicked();
+    void on_leftBtn_clicked();
+    void on_upBtn_clicked();
+    void on_downBtn_clicked();
+    void on_selectButton_clicked();
+
+    void on_playBtn_clicked();
+    void on_stopBtn_clicked();
+
+    void on_muteBtn_clicked();
+    void on_volumeUpBtn_clicked();
+    void on_volumeDownBtn_clicked();
+
+    void on_nextSubtitleBtn_clicked();
+    void on_nextLanguageBtn_clicked();
+
+private:
+    Ui::MainWindow *m_ui;
+    Xbmc* m_xbmc;
+};
+
+#endif // MAINWINDOW_H