Mir
configuration.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2014 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: Alan Griffiths <alan@octopull.co.uk>
17  */
18 
19 #ifndef MIR_OPTIONS_CONFIGURATION_H_
20 #define MIR_OPTIONS_CONFIGURATION_H_
21 
22 #include "mir/options/option.h"
23 
24 #include <memory>
25 
26 namespace mir
27 {
28 namespace options
29 {
30 extern char const* const server_socket_opt;
31 extern char const* const prompt_socket_opt;
32 extern char const* const no_server_socket_opt;
33 extern char const* const enable_input_opt;
34 extern char const* const session_mediator_report_opt;
35 extern char const* const msg_processor_report_opt;
36 extern char const* const shared_library_prober_report_opt;
37 extern char const* const compositor_report_opt;
38 extern char const* const display_report_opt;
39 extern char const* const legacy_input_report_opt;
40 extern char const* const connector_report_opt;
41 extern char const* const scene_report_opt;
42 extern char const* const input_report_opt;
43 extern char const* const host_socket_opt;
44 extern char const* const frontend_threads_opt;
45 extern char const* const touchspots_opt;
46 extern char const* const fatal_abort_opt;
47 extern char const* const debug_opt;
48 
49 extern char const* const name_opt;
50 extern char const* const offscreen_opt;
51 
52 extern char const* const off_opt_value;
53 extern char const* const log_opt_value;
54 extern char const* const lttng_opt_value;
55 
56 extern char const* const platform_graphics_lib;
57 extern char const* const platform_path;
58 
60 {
61 public:
62  virtual std::shared_ptr<options::Option> the_options() const = 0;
63 
64 protected:
65 
66  Configuration() = default;
67  virtual ~Configuration() = default;
68  Configuration(Configuration const&) = delete;
69  Configuration& operator=(Configuration const&) = delete;
70 };
71 }
72 }
73 
74 #endif /* MIR_OPTIONS_CONFIGURATION_H_ */
All things Mir.
Definition: buffer_stream.h:37
char const *const enable_input_opt
Definition: default_configuration.cpp:35
char const *const input_report_opt
Definition: default_configuration.cpp:43
char const *const connector_report_opt
Definition: default_configuration.cpp:41
char const *const frontend_threads_opt
Definition: default_configuration.cpp:46
char const *const msg_processor_report_opt
Definition: default_configuration.cpp:37
char const *const name_opt
Definition: default_configuration.cpp:47
char const *const touchspots_opt
Definition: default_configuration.cpp:49
char const *const shared_library_prober_report_opt
Definition: default_configuration.cpp:44
char const *const session_mediator_report_opt
Definition: default_configuration.cpp:36
Configuration & operator=(Configuration const &)=delete
char const *const display_report_opt
Definition: default_configuration.cpp:39
Definition: configuration.h:59
char const *const no_server_socket_opt
Definition: default_configuration.cpp:34
char const *const lttng_opt_value
Definition: default_configuration.cpp:55
char const *const legacy_input_report_opt
Definition: default_configuration.cpp:40
char const *const scene_report_opt
Definition: default_configuration.cpp:42
virtual ~Configuration()=default
char const *const offscreen_opt
Definition: default_configuration.cpp:48
char const *const platform_graphics_lib
Definition: default_configuration.cpp:57
char const *const host_socket_opt
Definition: default_configuration.cpp:45
char const *const off_opt_value
Definition: default_configuration.cpp:53
char const *const log_opt_value
Definition: default_configuration.cpp:54
char const *const fatal_abort_opt
Definition: default_configuration.cpp:50
char const *const compositor_report_opt
Definition: default_configuration.cpp:38
char const *const prompt_socket_opt
Definition: default_configuration.cpp:33
char const *const debug_opt
Definition: default_configuration.cpp:51
char const *const server_socket_opt
Definition: default_configuration.cpp:32
virtual std::shared_ptr< options::Option > the_options() const =0
char const *const platform_path
Definition: default_configuration.cpp:58

Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Mar 24 16:15:19 UTC 2015