Mir
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
include
server
mir
shell
window_manager_builder.h
Go to the documentation of this file.
1
/*
2
* Copyright © 2015 Canonical Ltd.
3
*
4
* This program is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License version 3,
6
* as published by the Free Software Foundation.
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 General Public License for more details.
12
*
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/>.
15
*
16
* Authored By: Alan Griffiths <alan@octopull.co.uk>
17
*/
18
19
#ifndef INCLUDE_SERVER_MIR_SHELL_WINDOW_MANAGER_BUILDER_H_
20
#define INCLUDE_SERVER_MIR_SHELL_WINDOW_MANAGER_BUILDER_H_
21
22
#include <functional>
23
#include <memory>
24
25
namespace
mir
26
{
27
namespace
shell
28
{
29
class
WindowManager;
30
class
FocusController;
31
33
using
WindowManagerBuilder
=
34
std::function<std::shared_ptr<WindowManager>(
FocusController
* focus_controller)>;
35
}
36
}
37
#endif
/* INCLUDE_SERVER_MIR_SHELL_WINDOW_MANAGER_BUILDER_H_ */
mir
Definition:
as_render_target.h:27
mir::shell::FocusController
Definition:
focus_controller.h:38
mir::shell::WindowManagerBuilder
std::function< std::shared_ptr< WindowManager >(FocusController *focus_controller)> WindowManagerBuilder
WindowManagers are built while initializing an AbstractShell, so a builder functor is needed...
Definition:
window_manager_builder.h:34
Copyright © 2012-2016 Canonical Ltd.
Generated on Mon Jun 5 11:05:03 UTC 2017