Mir
connection_configuration.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2013 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: Alexandros Frantzis <alexandros.frantzis@canonical.com>
17  */
18 
19 #ifndef MIR_CLIENT_CONNECTION_CONFIGURATION_H_
20 #define MIR_CLIENT_CONNECTION_CONFIGURATION_H_
21 
22 #include <memory>
23 #include "lifecycle_control.h"
24 #include "ping_handler.h"
25 
26 namespace mir
27 {
28 
29 namespace input
30 {
31 namespace receiver
32 {
33 class InputPlatform;
34 }
35 }
36 
37 namespace logging
38 {
39 class Logger;
40 }
41 
42 namespace client
43 {
44 namespace rpc
45 {
46 class MirBasicRpcChannel;
47 }
48 class ConnectionSurfaceMap;
49 class Logger;
50 class ClientPlatformFactory;
51 class DisplayConfiguration;
52 class EventSink;
53 class EventHandlerRegister;
54 
56 {
57 public:
58  virtual ~ConnectionConfiguration() = default;
59 
60  virtual std::shared_ptr<ConnectionSurfaceMap> the_surface_map() = 0;
61  virtual std::shared_ptr<mir::client::rpc::MirBasicRpcChannel> the_rpc_channel() = 0;
62  virtual std::shared_ptr<mir::logging::Logger> the_logger() = 0;
63  virtual std::shared_ptr<ClientPlatformFactory> the_client_platform_factory() = 0;
64  virtual std::shared_ptr<input::receiver::InputPlatform> the_input_platform() = 0;
65  virtual std::shared_ptr<DisplayConfiguration> the_display_configuration() = 0;
66  virtual std::shared_ptr<LifecycleControl> the_lifecycle_control() = 0;
67  virtual std::shared_ptr<PingHandler> the_ping_handler() = 0;
68  virtual std::shared_ptr<EventSink> the_event_sink() = 0;
69  virtual std::shared_ptr<EventHandlerRegister> the_event_handler_register() = 0;
70 
71 protected:
72  ConnectionConfiguration() = default;
75 };
76 }
77 }
78 
79 #endif /* MIR_CLIENT_CONNECTION_CONFIGURATION_H_ */
virtual std::shared_ptr< ClientPlatformFactory > the_client_platform_factory()=0
All things Mir.
Definition: atomic_callback.h:25
virtual std::shared_ptr< EventHandlerRegister > the_event_handler_register()=0
virtual std::shared_ptr< EventSink > the_event_sink()=0
Definition: input_platform.h:42
virtual std::shared_ptr< DisplayConfiguration > the_display_configuration()=0
virtual ~ConnectionConfiguration()=default
virtual std::shared_ptr< LifecycleControl > the_lifecycle_control()=0
virtual std::shared_ptr< ConnectionSurfaceMap > the_surface_map()=0
virtual std::shared_ptr< PingHandler > the_ping_handler()=0
ConnectionConfiguration & operator=(ConnectionConfiguration const &)=delete
Definition: connection_configuration.h:55
virtual std::shared_ptr< mir::client::rpc::MirBasicRpcChannel > the_rpc_channel()=0
virtual std::shared_ptr< input::receiver::InputPlatform > the_input_platform()=0
virtual std::shared_ptr< mir::logging::Logger > the_logger()=0

Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Oct 8 16:20:16 UTC 2015