~gerboland/qtubuntu/fix_1351024

« back to all changes in this revision

Viewing changes to src/platforms/ubuntulegacy/screen.h

  • Committer: CI bot
  • Author(s): Gerry Boland, Daniel d'Andrada
  • Date: 2014-07-28 02:37:08 UTC
  • mfrom: (231.1.14 ubuntumirclient-only)
  • Revision ID: ps-jenkins@lists.canonical.com-20140728023708-iv11mcwrd0pzjv0c
Major refactor: remove SurfaceFlinger & Mir in-server-process-client support, flatten class hierarchy. Only Mir client QPA remains


 
Approved by: Michael Terry, Ricardo Mendoza

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// This file is part of QtUbuntu, a set of Qt components for Ubuntu.
2
 
// Copyright © 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
 
#ifndef QUBUNTULEGACYSCREEN_H
17
 
#define QUBUNTULEGACYSCREEN_H
18
 
 
19
 
#include "base/screen.h"
20
 
 
21
 
struct SfClient;
22
 
 
23
 
class QUbuntuLegacyScreen : public QUbuntuBaseScreen {
24
 
 public:
25
 
  QUbuntuLegacyScreen();
26
 
  ~QUbuntuLegacyScreen();
27
 
 
28
 
  // QPlatformScreen methods.
29
 
  QRect geometry() const { return geometry_; }
30
 
 
31
 
  // New methods.
32
 
  SfClient* sfClient() const { return sfClient_; }
33
 
 
34
 
 private:
35
 
  QRect geometry_;
36
 
  SfClient* sfClient_;
37
 
};
38
 
 
39
 
#endif  // QUBUNTULEGACYSCREEN_H