Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 compositor_report_opt;
37 extern char const* const display_report_opt;
38 extern char const* const legacy_input_report_opt;
39 extern char const* const connector_report_opt;
40 extern char const* const scene_report_opt;
41 extern char const* const input_report_opt;
42 extern char const* const host_socket_opt;
43 extern char const* const frontend_threads_opt;
44 extern char const* const touchspots_opt;
45 extern char const* const fatal_abort_opt;
46 
47 extern char const* const name_opt;
48 extern char const* const offscreen_opt;
49 
50 extern char const* const glog;
51 extern char const* const glog_stderrthreshold;
52 extern char const* const glog_minloglevel;
53 extern char const* const glog_log_dir;
54 
55 extern char const* const off_opt_value;
56 extern char const* const log_opt_value;
57 extern char const* const lttng_opt_value;
58 
59 extern char const* const platform_graphics_lib;
60 
62 {
63 public:
64  virtual std::shared_ptr<options::Option> the_options() const = 0;
65 
66 protected:
67 
68  Configuration() = default;
69  virtual ~Configuration() = default;
70  Configuration(Configuration const&) = delete;
71  Configuration& operator=(Configuration const&) = delete;
72 };
73 }
74 }
75 
76 #endif /* MIR_OPTIONS_CONFIGURATION_H_ */
All things Mir.
Definition: aging_buffer.h:24
char const *const glog_stderrthreshold
Definition: default_configuration.cpp:50
char const *const enable_input_opt
Definition: default_configuration.cpp:33
char const *const input_report_opt
Definition: default_configuration.cpp:41
char const *const connector_report_opt
Definition: default_configuration.cpp:39
char const *const frontend_threads_opt
Definition: default_configuration.cpp:43
char const *const msg_processor_report_opt
Definition: default_configuration.cpp:35
char const *const name_opt
Definition: default_configuration.cpp:44
char const *const touchspots_opt
Definition: default_configuration.cpp:46
char const *const session_mediator_report_opt
Definition: default_configuration.cpp:34
Configuration & operator=(Configuration const &)=delete
char const *const display_report_opt
Definition: default_configuration.cpp:37
Definition: configuration.h:61
char const *const no_server_socket_opt
Definition: default_configuration.cpp:32
char const *const lttng_opt_value
Definition: default_configuration.cpp:55
char const *const legacy_input_report_opt
Definition: default_configuration.cpp:38
char const *const scene_report_opt
Definition: default_configuration.cpp:40
char const *const glog_minloglevel
Definition: default_configuration.cpp:51
virtual ~Configuration()=default
char const *const offscreen_opt
Definition: default_configuration.cpp:45
char const *const platform_graphics_lib
Definition: default_configuration.cpp:57
char const *const host_socket_opt
Definition: default_configuration.cpp:42
char const *const off_opt_value
Definition: default_configuration.cpp:53
char const *const glog
Definition: default_configuration.cpp:49
char const *const log_opt_value
Definition: default_configuration.cpp:54
char const *const fatal_abort_opt
Definition: default_configuration.cpp:47
char const *const compositor_report_opt
Definition: default_configuration.cpp:36
char const *const prompt_socket_opt
Definition: default_configuration.cpp:31
char const *const server_socket_opt
Definition: default_configuration.cpp:30
virtual std::shared_ptr< options::Option > the_options() const =0
char const *const glog_log_dir
Definition: default_configuration.cpp:52

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