Unity 8
indicatorsclient.h
1 /*
2  * Copyright 2013 Canonical Ltd.
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License as published by
6  * the Free Software Foundation; version 3.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU Lesser General Public License for more details.
12  *
13  * You should have received a copy of the GNU Lesser General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * Authors:
17  * Renato Araujo Oliveira Filho <renato@canonical.com>
18  * Nick Dedekind <nick.dedekind@canonical.com>
19  */
20 
21 #ifndef INDICATORS_CLIENT_H
22 #define INDICATORS_CLIENT_H
23 
24 #include <QApplication>
25 #include <QQuickView>
26 
27 class PluginManager;
28 
29 class IndicatorsClient : public QObject
30 {
31  Q_OBJECT
32 public:
33  IndicatorsClient(int &argc, char **argv);
34  ~IndicatorsClient();
35 
36  int run();
37 
38 private:
39  QApplication *m_application;
40  QQuickView *m_view;
41 
42  void setupUI();
43 };
44 
45 #endif