]> pilppa.org Git - vdr-tv-client.git/blob - src/QMLMainWindow.h
show full keyboard instead of number-only
[vdr-tv-client.git] / src / QMLMainWindow.h
1 /*
2  * vdr-tv-client: TV frontend for watching tv streams from the vdr server.
3  *
4  * Copyright (c) 2011, Mika Laitio. <lamikr@pilppa.org>
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 2
9  * of the License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19  * Or, point your browser to http://www.gnu.org/copyleft/gpl.html
20  *
21  */
22
23 #ifndef QMLMAINWINDOW_H
24 #define QMLMAINWINDOW_H
25
26 #include <QApplication>
27 #include <QDeclarativeView>
28 #include <QDeclarativeContext>
29 #include <QDeclarativeEngine>
30 #include <QCoreApplication>
31 #include <QDeclarativeComponent>
32
33 #include "QMLVDRClient.h"
34
35 class QMLMainWindow
36 {
37         public:
38                 static   QMLMainWindow* instance();
39                 ~QMLMainWindow();
40
41         private:
42             explicit QMLMainWindow();
43             QDeclarativeView *view;
44             QDeclarativeContext *context;
45 };
46
47 #endif // QMLMAINWINDOW_H