~sil2100/unity-mir/no_change_rebuild

« back to all changes in this revision

Viewing changes to src/unity-mir/dbusscreen.h

  • Committer: CI bot
  • Author(s): Michael Terry
  • Date: 2014-03-11 03:40:33 UTC
  • mfrom: (161.2.4 drop-dbusscreen)
  • Revision ID: ps-jenkins@lists.canonical.com-20140311034033-dajpvn931ql4helg
Drop dbusscreen code because it has moved to unity-system-compositor. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright (C) 2013 Canonical, Ltd.
3
 
 *
4
 
 * This program is free software: you can redistribute it and/or modify it under
5
 
 * the terms of the GNU Lesser General Public License version 3, as published by
6
 
 * the Free Software Foundation.
7
 
 *
8
 
 * This program is distributed in the hope that it will be useful, but WITHOUT
9
 
 * ANY WARRANTY; without even the implied warranties of MERCHANTABILITY,
10
 
 * SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11
 
 * 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
 
 
17
 
#ifndef DBUSSCREEN_H
18
 
#define DBUSSCREEN_H
19
 
 
20
 
// qt
21
 
#include <QObject>
22
 
 
23
 
class ShellServerConfiguration;
24
 
 
25
 
class DBusScreen : public QObject
26
 
{
27
 
    Q_OBJECT
28
 
    Q_CLASSINFO("D-Bus Interface", "com.canonical.Unity.Screen")
29
 
 
30
 
public:
31
 
    explicit DBusScreen(ShellServerConfiguration *config, QObject *parent = 0);
32
 
 
33
 
    Q_INVOKABLE Q_SCRIPTABLE bool setScreenPowerMode(const QString &mode);
34
 
 
35
 
private:
36
 
    ShellServerConfiguration *m_serverConfig;
37
 
};
38
 
 
39
 
#endif // DBUSSCREEN_H