2 * Copyright (C) 2017 Canonical, Ltd.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 3.
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 General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17#ifndef WINDOWMANAGEROBJECTS_H
18#define WINDOWMANAGEROBJECTS_H
24 namespace application {
25 class SurfaceManagerInterface;
26 class ApplicationManagerInterface;
31class WindowManagerObjects : public QObject
35 Q_PROPERTY(unity::shell::application::SurfaceManagerInterface* surfaceManager
37 WRITE setSurfaceManager
38 NOTIFY surfaceManagerChanged)
40 Q_PROPERTY(unity::shell::application::ApplicationManagerInterface* applicationManager
41 READ applicationManager
42 WRITE setApplicationManager
43 NOTIFY applicationManagerChanged)
45 explicit WindowManagerObjects(QObject *parent = 0);
47 static WindowManagerObjects *instance();
49 unity::shell::application::SurfaceManagerInterface *surfaceManager() const { return m_surfaceManager; }
50 void setSurfaceManager(unity::shell::application::SurfaceManagerInterface*);
52 unity::shell::application::ApplicationManagerInterface *applicationManager() const { return m_applicationManager; }
53 void setApplicationManager(unity::shell::application::ApplicationManagerInterface*);
56 void surfaceManagerChanged(unity::shell::application::SurfaceManagerInterface*);
57 void applicationManagerChanged(unity::shell::application::ApplicationManagerInterface*);
60 unity::shell::application::SurfaceManagerInterface* m_surfaceManager;
61 unity::shell::application::ApplicationManagerInterface* m_applicationManager;
64#endif // WINDOWMANAGEROBJECTS_H
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list