Mir
virtual_output.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2016 Canonical Ltd.
3  *
4  * This program is free software: you can redistribute it and/or modify it
5  * under the terms of the GNU Lesser 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 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  * Authored by: Alberto Aguirre <alberto.aguirre@canonical.com>
17  */
18 
19 #ifndef MIR_GRAPHICS_VIRTUAL_OUTPUT_H_
20 #define MIR_GRAPHICS_VIRTUAL_OUTPUT_H_
21 
22 namespace mir
23 {
24 
25 namespace graphics
26 {
27 
32 {
33 public:
34 
41  virtual void enable() = 0;
42 
50  virtual void disable() = 0;
51 
52  VirtualOutput() = default;
53  virtual ~VirtualOutput() = default;
54 private:
55  VirtualOutput(VirtualOutput const&) = delete;
56  VirtualOutput& operator=(VirtualOutput const&) = delete;
57 };
58 }
59 }
60 
61 #endif /* MIR_GRAPHICS_VIRTUAL_OUTPUT_H_ */
virtual void enable()=0
Enables the virtual output.
Definition: as_render_target.h:27
virtual ~VirtualOutput()=default
Interface to a virtual output.
Definition: virtual_output.h:31
virtual void disable()=0
Disable the virtual output.

Copyright © 2012-2016 Canonical Ltd.
Generated on Wed Oct 11 22:26:23 UTC 2017