Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 
24 namespace google { namespace protobuf { class RpcChannel; } }
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 class SharedLibrary;
43 
44 namespace client
45 {
46 class ConnectionSurfaceMap;
47 class Logger;
48 class ClientPlatformFactory;
49 class DisplayConfiguration;
50 class LifecycleControl;
51 class EventSink;
52 class EventHandlerRegister;
53 
55 {
56 public:
57  virtual ~ConnectionConfiguration() = default;
58 
59  virtual std::shared_ptr<ConnectionSurfaceMap> the_surface_map() = 0;
60  virtual std::shared_ptr<google::protobuf::RpcChannel> the_rpc_channel() = 0;
61  virtual std::shared_ptr<mir::logging::Logger> the_logger() = 0;
62  virtual std::shared_ptr<ClientPlatformFactory> the_client_platform_factory() = 0;
63  virtual std::shared_ptr<input::receiver::InputPlatform> the_input_platform() = 0;
64  virtual std::shared_ptr<DisplayConfiguration> the_display_configuration() = 0;
65  virtual std::shared_ptr<LifecycleControl> the_lifecycle_control() = 0;
66  virtual std::shared_ptr<EventSink> the_event_sink() = 0;
67  virtual std::shared_ptr<EventHandlerRegister> the_event_handler_register() = 0;
68  virtual std::shared_ptr<SharedLibrary> the_platform_library() = 0;
69 
70 protected:
71  ConnectionConfiguration() = default;
74 };
75 }
76 }
77 
78 #endif /* MIR_CLIENT_CONNECTION_CONFIGURATION_H_ */
virtual std::shared_ptr< ClientPlatformFactory > the_client_platform_factory()=0
All things Mir.
Definition: aging_buffer.h:24
virtual std::shared_ptr< EventHandlerRegister > the_event_handler_register()=0
Definition: shared_library.h:26
virtual std::shared_ptr< EventSink > the_event_sink()=0
virtual std::shared_ptr< SharedLibrary > the_platform_library()=0
Definition: input_platform.h:37
virtual std::shared_ptr< DisplayConfiguration > the_display_configuration()=0
Definition: logger.h:30
virtual ~ConnectionConfiguration()=default
virtual std::shared_ptr< LifecycleControl > the_lifecycle_control()=0
virtual std::shared_ptr< ConnectionSurfaceMap > the_surface_map()=0
ConnectionConfiguration & operator=(ConnectionConfiguration const &)=delete
Definition: connection_configuration.h:24
Definition: connection_configuration.h:54
virtual std::shared_ptr< input::receiver::InputPlatform > the_input_platform()=0
virtual std::shared_ptr< google::protobuf::RpcChannel > the_rpc_channel()=0
virtual std::shared_ptr< mir::logging::Logger > the_logger()=0

Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Oct 10 14:07:14 UTC 2014