FreeRDP
|
#include <sdl_prefs.hpp>
Public Member Functions | |
std::string | get_pref_file () |
std::string | get_string (const std::string &key, const std::string &fallback="") |
int64_t | get_int (const std::string &key, int64_t fallback=0) |
bool | get_bool (const std::string &key, bool fallback=false) |
std::vector< std::string > | get_array (const std::string &key, const std::vector< std::string > &fallback={}) |
Static Public Member Functions | |
static std::shared_ptr< SdlPref > | instance (const std::string &name=SdlPref::get_default_file()) |
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 = {} |
||
) |
Definition at line 90 of file sdl_prefs.cpp.
bool SdlPref::get_bool | ( | const std::string & | key, |
bool | fallback = false |
||
) |
Definition at line 73 of file sdl_prefs.cpp.
int64_t SdlPref::get_int | ( | const std::string & | key, |
int64_t | fallback = 0 |
||
) |
Definition at line 81 of file sdl_prefs.cpp.
std::string SdlPref::get_pref_file | ( | ) |
Definition at line 196 of file sdl_prefs.cpp.
std::string SdlPref::get_string | ( | const std::string & | key, |
const std::string & | fallback = "" |
||
) |
Definition at line 67 of file sdl_prefs.cpp.
|
static |
Definition at line 188 of file sdl_prefs.cpp.
|
static |
Definition at line 107 of file sdl_prefs.cpp.