|
FreeRDP
|
#include <sdl_prefs.hpp>
Public Member Functions | |
| std::string | get_pref_file (bool systemConfigOnly=false) const |
| std::string | get_string (const std::string &key, const std::string &fallback="", bool systemConfigOnly=false) const |
| int64_t | get_int (const std::string &key, int64_t fallback=0, bool systemConfigOnly=false) const |
| bool | get_bool (const std::string &key, bool fallback=false, bool systemConfigOnly=false) const |
| std::vector< std::string > | get_array (const std::string &key, const std::vector< std::string > &fallback={}, bool systemConfigOnly=false) const |
| bool | is_commandline_override_allowed () const |
Static Public Member Functions | |
| static std::shared_ptr< SdlPref > | instance (const std::string &name=SdlPref::get_default_file(false)) |
| static void | print_config_file_help (int version) |
FreeRDP: A Remote Desktop Protocol Implementation SDL Prefs
Copyright 2022 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition at line 27 of file sdl_prefs.hpp.
| std::vector< std::string > SdlPref::get_array | ( | const std::string & | key, |
| const std::vector< std::string > & | fallback = {}, |
||
| bool | systemConfigOnly = false |
||
| ) | const |
Definition at line 121 of file sdl_prefs.cpp.
| bool SdlPref::get_bool | ( | const std::string & | key, |
| bool | fallback = false, |
||
| bool | systemConfigOnly = false |
||
| ) | const |
Definition at line 104 of file sdl_prefs.cpp.
| int64_t SdlPref::get_int | ( | const std::string & | key, |
| int64_t | fallback = 0, |
||
| bool | systemConfigOnly = false |
||
| ) | const |
Definition at line 112 of file sdl_prefs.cpp.
| std::string SdlPref::get_pref_file | ( | bool | systemConfigOnly = false | ) | const |
Definition at line 253 of file sdl_prefs.cpp.
| std::string SdlPref::get_string | ( | const std::string & | key, |
| const std::string & | fallback = "", |
||
| bool | systemConfigOnly = false |
||
| ) | const |
Definition at line 97 of file sdl_prefs.cpp.
|
static |
Definition at line 245 of file sdl_prefs.cpp.
| bool SdlPref::is_commandline_override_allowed | ( | ) | const |
Definition at line 79 of file sdl_prefs.cpp.
|
static |
Definition at line 139 of file sdl_prefs.cpp.