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 arw_server_socket_opt;
34 extern char const* const enable_input_opt;
35 extern char const* const session_mediator_report_opt;
36 extern char const* const msg_processor_report_opt;
37 extern char const* const shared_library_prober_report_opt;
38 extern char const* const shell_report_opt;
39 extern char const* const compositor_report_opt;
40 extern char const* const display_report_opt;
41 extern char const* const legacy_input_report_opt;
42 extern char const* const connector_report_opt;
43 extern char const* const scene_report_opt;
44 extern char const* const input_report_opt;
45 extern char const* const host_socket_opt;
46 extern char const* const frontend_threads_opt;
47 extern char const* const touchspots_opt;
48 extern char const* const fatal_except_opt;
49 extern char const* const debug_opt;
50 extern char const* const nbuffers_opt;
51 extern char const* const composite_delay_opt;
52 extern char const* const enable_key_repeat_opt;
53 
54 extern char const* const name_opt;
55 
56 extern char const* const enable_key_repeat_opt;
57 
58 extern char const* const off_opt_value;
59 extern char const* const log_opt_value;
60 extern char const* const lttng_opt_value;
61 
62 extern char const* const platform_graphics_lib;
63 extern char const* const platform_input_lib;
64 extern char const* const platform_path;
65 
67 {
68 public:
69  virtual std::shared_ptr<options::Option> the_options() const = 0;
70 
71 protected:
72 
73  Configuration() = default;
74  virtual ~Configuration() = default;
75  Configuration(Configuration const&) = delete;
76  Configuration& operator=(Configuration const&) = delete;
77 };
78 }
79 }
80 
81 #endif /* MIR_OPTIONS_CONFIGURATION_H_ */
All things Mir.
Definition: atomic_callback.h:25
char const *const enable_input_opt
Definition: default_configuration.cpp:34
char const *const fatal_except_opt
Definition: default_configuration.cpp:49
char const *const input_report_opt
Definition: default_configuration.cpp:42
char const *const connector_report_opt
Definition: default_configuration.cpp:40
char const *const frontend_threads_opt
Definition: default_configuration.cpp:46
char const *const msg_processor_report_opt
Definition: default_configuration.cpp:36
char const *const name_opt
Definition: default_configuration.cpp:47
char const *const touchspots_opt
Definition: default_configuration.cpp:48
char const *const shared_library_prober_report_opt
Definition: default_configuration.cpp:43
char const *const session_mediator_report_opt
Definition: default_configuration.cpp:35
Configuration & operator=(Configuration const &)=delete
char const *const display_report_opt
Definition: default_configuration.cpp:38
Definition: configuration.h:66
char const *const no_server_socket_opt
Definition: default_configuration.cpp:32
char const *const lttng_opt_value
Definition: default_configuration.cpp:57
char const *const legacy_input_report_opt
Definition: default_configuration.cpp:39
char const *const scene_report_opt
Definition: default_configuration.cpp:41
char const *const shell_report_opt
Definition: default_configuration.cpp:44
char const *const platform_input_lib
Definition: default_configuration.cpp:60
virtual ~Configuration()=default
char const *const arw_server_socket_opt
Definition: default_configuration.cpp:33
char const *const enable_key_repeat_opt
Definition: configuration.h:56
char const *const platform_graphics_lib
Definition: default_configuration.cpp:59
char const *const host_socket_opt
Definition: default_configuration.cpp:45
char const *const off_opt_value
Definition: default_configuration.cpp:55
char const *const log_opt_value
Definition: default_configuration.cpp:56
char const *const compositor_report_opt
Definition: default_configuration.cpp:37
char const *const composite_delay_opt
Definition: default_configuration.cpp:52
char const *const prompt_socket_opt
Definition: default_configuration.cpp:31
char const *const nbuffers_opt
Definition: default_configuration.cpp:51
char const *const debug_opt
Definition: default_configuration.cpp:50
char const *const server_socket_opt
Definition: default_configuration.cpp:30
virtual std::shared_ptr< options::Option > the_options() const =0
char const *const platform_path
Definition: default_configuration.cpp:61

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