removed the state machine. use only http.
[simple-xmbc-rem] / src / mainwindow.h
1 // checksum 0x9a77 version 0x20001
2 /*
3   This file was generated by the Mobile Qt Application wizard of Qt Creator.
4   MainWindow is a convenience class containing mobile device specific code
5   such as screen orientation handling.
6   It is recommended not to modify this file, since newer versions of Qt Creator
7   may offer an updated version of it.
8 */
9
10 #ifndef MAINWINDOW_H
11 #define MAINWINDOW_H
12
13 #include <QMainWindow>
14 #include "xbmc.h"
15
16 namespace Ui {
17     class MainWindow;
18 }
19
20 class MainWindow : public QMainWindow
21 {
22     Q_OBJECT
23 public:
24     enum ScreenOrientation {
25         ScreenOrientationLockPortrait,
26         ScreenOrientationLockLandscape,
27         ScreenOrientationAuto
28     };
29
30     explicit MainWindow(QWidget *parent = 0);
31     virtual ~MainWindow();
32
33     void setOrientation(ScreenOrientation orientation);
34     void showExpanded();
35
36 private slots:
37     void on_actionSetup_triggered();
38
39     void on_rightBtn_clicked();
40     void on_leftBtn_clicked();
41
42 private:
43     Ui::MainWindow *m_ui;
44     Xbmc* m_xbmc;
45 };
46
47 #endif // MAINWINDOW_H