Mir
mir_presentation_chain.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
5  * it under the terms of the GNU Lesser General Public License version 3 as
6  * 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: Kevin DuBois <kevin.dubois@canonical.com>
17  */
18 
19 #ifndef MIR_CLIENT_MIR_PRESENTATION_CHAIN_H
20 #define MIR_CLIENT_MIR_PRESENTATION_CHAIN_H
21 
22 #include "mir/geometry/size.h"
24 #include "mir_buffer.h"
25 
27 {
28 public:
29  virtual ~MirPresentationChain() = default;
30  virtual void submit_buffer(mir::client::MirBuffer* buffer) = 0;
31  virtual MirConnection* connection() const = 0;
32  virtual int rpc_id() const = 0;
33  virtual char const* error_msg() const = 0;
34 
35 protected:
38  MirPresentationChain() = default;
39 };
40 
41 #endif /* MIR_CLIENT_MIR_PRESENTATION_CHAIN_H */
Definition: mir_buffer.h:34
virtual char const * error_msg() const =0
MirPresentationChain & operator=(MirPresentationChain const &)=delete
virtual ~MirPresentationChain()=default
Definition: mir_presentation_chain.h:26
virtual MirConnection * connection() const =0
Definition: mir_connection.h:96
MirPresentationChain()=default
virtual void submit_buffer(mir::client::MirBuffer *buffer)=0
virtual int rpc_id() const =0

Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Sep 8 14:50:19 UTC 2016