222 lines
28 KiB
HTML
222 lines
28 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||
|
<meta name="generator" content="Doxygen 1.9.3"/>
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||
|
<title>GpgFrontend Project: src/core/function/GlobalSettingStation.h Source File</title>
|
||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="jquery.js"></script>
|
||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="resize.js"></script>
|
||
|
<script type="text/javascript" src="navtreedata.js"></script>
|
||
|
<script type="text/javascript" src="navtree.js"></script>
|
||
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
||
|
<script type="text/javascript" src="search/search.js"></script>
|
||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||
|
<div id="titlearea">
|
||
|
<table cellspacing="0" cellpadding="0">
|
||
|
<tbody>
|
||
|
<tr id="projectrow">
|
||
|
<td id="projectalign">
|
||
|
<div id="projectname">GpgFrontend Project
|
||
|
</div>
|
||
|
<div id="projectbrief">A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<!-- end header part -->
|
||
|
<!-- Generated by Doxygen 1.9.3 -->
|
||
|
<script type="text/javascript">
|
||
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||
|
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
|
||
|
/* @license-end */
|
||
|
</script>
|
||
|
<script type="text/javascript" src="menudata.js"></script>
|
||
|
<script type="text/javascript" src="menu.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||
|
$(function() {
|
||
|
initMenu('',true,false,'search.php','Search');
|
||
|
$(document).ready(function() { init_search(); });
|
||
|
});
|
||
|
/* @license-end */
|
||
|
</script>
|
||
|
<div id="main-nav"></div>
|
||
|
</div><!-- top -->
|
||
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||
|
<div id="nav-tree">
|
||
|
<div id="nav-tree-contents">
|
||
|
<div id="nav-sync" class="sync"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="splitbar" style="-moz-user-select:none;"
|
||
|
class="ui-resizable-handle">
|
||
|
</div>
|
||
|
</div>
|
||
|
<script type="text/javascript">
|
||
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||
|
$(document).ready(function(){initNavTree('GlobalSettingStation_8h_source.html',''); initResizable(); });
|
||
|
/* @license-end */
|
||
|
</script>
|
||
|
<div id="doc-content">
|
||
|
<!-- window showing the filter options -->
|
||
|
<div id="MSearchSelectWindow"
|
||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||
|
</div>
|
||
|
|
||
|
<!-- iframe showing the search results (closed by default) -->
|
||
|
<div id="MSearchResultsWindow">
|
||
|
<iframe src="javascript:void(0)" frameborder="0"
|
||
|
name="MSearchResults" id="MSearchResults">
|
||
|
</iframe>
|
||
|
</div>
|
||
|
|
||
|
<div class="header">
|
||
|
<div class="headertitle"><div class="title">GlobalSettingStation.h</div></div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span> </div>
|
||
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#ifndef GPGFRONTEND_GLOBALSETTINGSTATION_H</span></div>
|
||
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor">#define GPGFRONTEND_GLOBALSETTINGSTATION_H</span></div>
|
||
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
|
||
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="preprocessor">#include <openssl/x509.h></span></div>
|
||
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> </div>
|
||
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="preprocessor">#include <boost/filesystem/operations.hpp></span></div>
|
||
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="preprocessor">#include <boost/filesystem/path.hpp></span></div>
|
||
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
|
||
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="preprocessor">#include "GpgFrontendBuildInstallInfo.h"</span></div>
|
||
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="preprocessor">#include "core/GpgFrontendCore.h"</span></div>
|
||
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="preprocessor">#include "core/GpgFunctionObject.h"</span></div>
|
||
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> </div>
|
||
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceGpgFrontend.html">GpgFrontend</a> {</div>
|
||
|
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
|
||
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html"> 47</a></span><span class="keyword">class </span>GPGFRONTEND_CORE_EXPORT <a class="code hl_class" href="classGpgFrontend_1_1GlobalSettingStation.html">GlobalSettingStation</a></div>
|
||
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> : <span class="keyword">public</span> <a class="code hl_class" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject</a><GlobalSettingStation> {</div>
|
||
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <span class="keyword">public</span>:</div>
|
||
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <span class="keyword">explicit</span> <a class="code hl_class" href="classGpgFrontend_1_1GlobalSettingStation.html">GlobalSettingStation</a>(</div>
|
||
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <span class="keywordtype">int</span> channel = <a class="code hl_function" href="classGpgFrontend_1_1SingletonFunctionObject.html#a50e2b3794d6553f4231eaec72d9d0a50">SingletonFunctionObject::GetDefaultChannel</a>()) <span class="keyword">noexcept</span>;</div>
|
||
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> </div>
|
||
|
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#af700161900e623a0ea14261d51616451"> 61</a></span> <a class="code hl_function" href="classGpgFrontend_1_1GlobalSettingStation.html#af700161900e623a0ea14261d51616451">~GlobalSettingStation</a>() noexcept override;</div>
|
||
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> </div>
|
||
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#a1d8b9f91c75ef7a1d008a171f09f2c0e"> 68</a></span> libconfig::Setting &GetUISettings() noexcept { <span class="keywordflow">return</span> ui_cfg_.getRoot(); }</div>
|
||
|
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> </div>
|
||
|
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#ae9d1da3d01c4a834120968636596c3c3"> 75</a></span> [[nodiscard]] std::filesystem::path <a class="code hl_function" href="classGpgFrontend_1_1GlobalSettingStation.html#ae9d1da3d01c4a834120968636596c3c3">GetAppDir</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> app_path_; }</div>
|
||
|
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> </div>
|
||
|
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> [[nodiscard]] std::filesystem::path GetAppDataPath()<span class="keyword"> const </span>{</div>
|
||
|
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> <span class="keywordflow">return</span> app_data_path_;</div>
|
||
|
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> }</div>
|
||
|
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> </div>
|
||
|
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#a7da9b08291ef2391892f5c9375b8db23"> 86</a></span> [[nodiscard]] std::filesystem::path <a class="code hl_function" href="classGpgFrontend_1_1GlobalSettingStation.html#a7da9b08291ef2391892f5c9375b8db23">GetLogDir</a>()<span class="keyword"> const </span>{</div>
|
||
|
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <span class="keywordflow">return</span> app_log_path_;</div>
|
||
|
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> }</div>
|
||
|
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> </div>
|
||
|
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#af484ca46c5df831a9dd76f3a88d66332"> 95</a></span> [[nodiscard]] std::filesystem::path <a class="code hl_function" href="classGpgFrontend_1_1GlobalSettingStation.html#af484ca46c5df831a9dd76f3a88d66332">GetStandaloneDatabaseDir</a>()<span class="keyword"> const </span>{</div>
|
||
|
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <span class="keyword">auto</span> db_path = app_configure_path_ / <span class="stringliteral">"db"</span>;</div>
|
||
|
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <span class="keywordflow">if</span> (!std::filesystem::exists(db_path)) {</div>
|
||
|
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> std::filesystem::create_directory(db_path);</div>
|
||
|
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> }</div>
|
||
|
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <span class="keywordflow">return</span> db_path;</div>
|
||
|
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> }</div>
|
||
|
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> </div>
|
||
|
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> [[nodiscard]] std::filesystem::path GetAppConfigPath()<span class="keyword"> const </span>{</div>
|
||
|
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> <span class="keywordflow">return</span> app_configure_path_;</div>
|
||
|
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> }</div>
|
||
|
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> </div>
|
||
|
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#aa93b21af9ac6649d5749c83c809f5b00"> 112</a></span> [[nodiscard]] std::filesystem::path <a class="code hl_function" href="classGpgFrontend_1_1GlobalSettingStation.html#aa93b21af9ac6649d5749c83c809f5b00">GetStandaloneGpgBinDir</a>()<span class="keyword"> const </span>{</div>
|
||
|
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> <span class="keywordflow">return</span> app_resource_path_ / <span class="stringliteral">"gpg1.4"</span> / <span class="stringliteral">"gpg"</span>;</div>
|
||
|
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> }</div>
|
||
|
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> </div>
|
||
|
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#a0b3780564305e9b210d66ef377c21565"> 121</a></span> [[nodiscard]] std::filesystem::path <a class="code hl_function" href="classGpgFrontend_1_1GlobalSettingStation.html#a0b3780564305e9b210d66ef377c21565">GetLocaleDir</a>()<span class="keyword"> const </span>{</div>
|
||
|
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> <span class="keywordflow">return</span> app_locale_path_;</div>
|
||
|
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> }</div>
|
||
|
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> </div>
|
||
|
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#afc1aa3dec55ae4e741f92fce1140a2d0"> 130</a></span> [[nodiscard]] std::filesystem::path <a class="code hl_function" href="classGpgFrontend_1_1GlobalSettingStation.html#afc1aa3dec55ae4e741f92fce1140a2d0">GetResourceDir</a>()<span class="keyword"> const </span>{</div>
|
||
|
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> <span class="keywordflow">return</span> app_resource_path_;</div>
|
||
|
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> }</div>
|
||
|
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> </div>
|
||
|
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#a385ae4ab6ad5b17742a5405fa693d789"> 139</a></span> [[nodiscard]] std::filesystem::path <a class="code hl_function" href="classGpgFrontend_1_1GlobalSettingStation.html#a385ae4ab6ad5b17742a5405fa693d789">GetCertsDir</a>()<span class="keyword"> const </span>{</div>
|
||
|
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <span class="keywordflow">return</span> app_resource_path_ / <span class="stringliteral">"certs"</span>;</div>
|
||
|
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> }</div>
|
||
|
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> </div>
|
||
|
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> <span class="keywordtype">void</span> SyncSettings() noexcept;</div>
|
||
|
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> </div>
|
||
|
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> private:</div>
|
||
|
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#a678f8ba120f9ad050d0adfec4476d7ac"> 150</a></span> std::filesystem::path app_path_ =</div>
|
||
|
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> qApp->applicationDirPath().toStdString(); </div>
|
||
|
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#a58fff8a42f98ad7989bffb8322344cd6"> 152</a></span> std::filesystem::path app_data_path_ =</div>
|
||
|
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation)</div>
|
||
|
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> .toStdString(); </div>
|
||
|
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#a6459653a71cc8285fa554943c7fb3ca7"> 155</a></span> std::filesystem::path app_log_path_ =</div>
|
||
|
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> app_data_path_ / "logs"; </div>
|
||
|
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#ad0600d475f6758503b1347722e2a933a"> 157</a></span> std::filesystem::path app_data_objs_path_ =</div>
|
||
|
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> app_data_path_ / "objs"; </div>
|
||
|
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> </div>
|
||
|
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span><span class="preprocessor">#ifdef LINUX_INSTALL_BUILD</span></div>
|
||
|
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> std::filesystem::path app_resource_path_ =</div>
|
||
|
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> std::filesystem::path(APP_LOCALSTATE_PATH) /</div>
|
||
|
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> <span class="stringliteral">"gpgfrontend"</span>; </div>
|
||
|
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span><span class="preprocessor">#else</span></div>
|
||
|
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#a1d94a126c78ac01ec01f10d2ce575388"> 165</a></span> std::filesystem::path app_resource_path_ =</div>
|
||
|
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> RESOURCE_DIR_BOOST_PATH(app_path_); </div>
|
||
|
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span><span class="preprocessor">#endif</span></div>
|
||
|
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> </div>
|
||
|
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span><span class="preprocessor">#ifdef LINUX_INSTALL_BUILD</span></div>
|
||
|
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> std::filesystem::path app_locale_path_ =</div>
|
||
|
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> std::string(APP_LOCALE_PATH); </div>
|
||
|
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span><span class="preprocessor">#else</span></div>
|
||
|
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#a25c1b45a2ccdc21dd2dcba58866169fb"> 173</a></span> std::filesystem::path app_locale_path_ =</div>
|
||
|
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> app_resource_path_ / <span class="stringliteral">"locales"</span>; </div>
|
||
|
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span><span class="preprocessor">#endif</span></div>
|
||
|
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> </div>
|
||
|
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#a4d04bb665571921421b853f18b8b300a"> 177</a></span> std::filesystem::path app_configure_path_ =</div>
|
||
|
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation)</div>
|
||
|
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> .toStdString(); </div>
|
||
|
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#ab618fef68cfd4ff6e42d4a4aa8ea94bb"> 180</a></span> std::filesystem::path ui_config_dir_path_ =</div>
|
||
|
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> app_configure_path_ /</div>
|
||
|
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> <span class="stringliteral">"UserInterface"</span>; </div>
|
||
|
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#afa99ddc25c0d5fd59a4c5f0e61d13830"> 183</a></span> std::filesystem::path ui_config_path_ =</div>
|
||
|
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> ui_config_dir_path_ / <span class="stringliteral">"ui.cfg"</span>; </div>
|
||
|
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> </div>
|
||
|
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#a1818e08063d6a886975f77354fc5d85c"> 186</a></span> libconfig::Config <a class="code hl_variable" href="classGpgFrontend_1_1GlobalSettingStation.html#a1818e08063d6a886975f77354fc5d85c">ui_cfg_</a>; </div>
|
||
|
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> </div>
|
||
|
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> <span class="keywordtype">void</span> init_app_secure_key();</div>
|
||
|
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span>};</div>
|
||
|
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span>} <span class="comment">// namespace GpgFrontend</span></div>
|
||
|
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> </div>
|
||
|
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span><span class="preprocessor">#endif </span><span class="comment">// GPGFRONTEND_GLOBALSETTINGSTATION_H</span></div>
|
||
|
<div class="ttc" id="aclassGpgFrontend_1_1GlobalSettingStation_html"><div class="ttname"><a href="classGpgFrontend_1_1GlobalSettingStation.html">GpgFrontend::GlobalSettingStation</a></div><div class="ttdef"><b>Definition:</b> GlobalSettingStation.h:48</div></div>
|
||
|
<div class="ttc" id="aclassGpgFrontend_1_1GlobalSettingStation_html_a0b3780564305e9b210d66ef377c21565"><div class="ttname"><a href="classGpgFrontend_1_1GlobalSettingStation.html#a0b3780564305e9b210d66ef377c21565">GpgFrontend::GlobalSettingStation::GetLocaleDir</a></div><div class="ttdeci">std::filesystem::path GetLocaleDir() const</div><div class="ttdoc">Get the Locale Dir object.</div><div class="ttdef"><b>Definition:</b> GlobalSettingStation.h:121</div></div>
|
||
|
<div class="ttc" id="aclassGpgFrontend_1_1GlobalSettingStation_html_a1818e08063d6a886975f77354fc5d85c"><div class="ttname"><a href="classGpgFrontend_1_1GlobalSettingStation.html#a1818e08063d6a886975f77354fc5d85c">GpgFrontend::GlobalSettingStation::ui_cfg_</a></div><div class="ttdeci">libconfig::Config ui_cfg_</div><div class="ttdoc">UI Configure File.</div><div class="ttdef"><b>Definition:</b> GlobalSettingStation.h:186</div></div>
|
||
|
<div class="ttc" id="aclassGpgFrontend_1_1GlobalSettingStation_html_a385ae4ab6ad5b17742a5405fa693d789"><div class="ttname"><a href="classGpgFrontend_1_1GlobalSettingStation.html#a385ae4ab6ad5b17742a5405fa693d789">GpgFrontend::GlobalSettingStation::GetCertsDir</a></div><div class="ttdeci">std::filesystem::path GetCertsDir() const</div><div class="ttdoc">Get the Certs Dir object.</div><div class="ttdef"><b>Definition:</b> GlobalSettingStation.h:139</div></div>
|
||
|
<div class="ttc" id="aclassGpgFrontend_1_1GlobalSettingStation_html_a7da9b08291ef2391892f5c9375b8db23"><div class="ttname"><a href="classGpgFrontend_1_1GlobalSettingStation.html#a7da9b08291ef2391892f5c9375b8db23">GpgFrontend::GlobalSettingStation::GetLogDir</a></div><div class="ttdeci">std::filesystem::path GetLogDir() const</div><div class="ttdoc">Get the Log Dir object.</div><div class="ttdef"><b>Definition:</b> GlobalSettingStation.h:86</div></div>
|
||
|
<div class="ttc" id="aclassGpgFrontend_1_1GlobalSettingStation_html_aa93b21af9ac6649d5749c83c809f5b00"><div class="ttname"><a href="classGpgFrontend_1_1GlobalSettingStation.html#aa93b21af9ac6649d5749c83c809f5b00">GpgFrontend::GlobalSettingStation::GetStandaloneGpgBinDir</a></div><div class="ttdeci">std::filesystem::path GetStandaloneGpgBinDir() const</div><div class="ttdoc">Get the Standalone Gpg Bin Dir object.</div><div class="ttdef"><b>Definition:</b> GlobalSettingStation.h:112</div></div>
|
||
|
<div class="ttc" id="aclassGpgFrontend_1_1GlobalSettingStation_html_ae9d1da3d01c4a834120968636596c3c3"><div class="ttname"><a href="classGpgFrontend_1_1GlobalSettingStation.html#ae9d1da3d01c4a834120968636596c3c3">GpgFrontend::GlobalSettingStation::GetAppDir</a></div><div class="ttdeci">std::filesystem::path GetAppDir() const</div><div class="ttdoc">Get the App Dir object.</div><div class="ttdef"><b>Definition:</b> GlobalSettingStation.h:75</div></div>
|
||
|
<div class="ttc" id="aclassGpgFrontend_1_1GlobalSettingStation_html_af484ca46c5df831a9dd76f3a88d66332"><div class="ttname"><a href="classGpgFrontend_1_1GlobalSettingStation.html#af484ca46c5df831a9dd76f3a88d66332">GpgFrontend::GlobalSettingStation::GetStandaloneDatabaseDir</a></div><div class="ttdeci">std::filesystem::path GetStandaloneDatabaseDir() const</div><div class="ttdoc">Get the Standalone Database Dir object.</div><div class="ttdef"><b>Definition:</b> GlobalSettingStation.h:95</div></div>
|
||
|
<div class="ttc" id="aclassGpgFrontend_1_1GlobalSettingStation_html_af700161900e623a0ea14261d51616451"><div class="ttname"><a href="classGpgFrontend_1_1GlobalSettingStation.html#af700161900e623a0ea14261d51616451">GpgFrontend::GlobalSettingStation::~GlobalSettingStation</a></div><div class="ttdeci">~GlobalSettingStation() noexcept override</div><div class="ttdoc">Destroy the Global Setting Station object.</div></div>
|
||
|
<div class="ttc" id="aclassGpgFrontend_1_1GlobalSettingStation_html_afc1aa3dec55ae4e741f92fce1140a2d0"><div class="ttname"><a href="classGpgFrontend_1_1GlobalSettingStation.html#afc1aa3dec55ae4e741f92fce1140a2d0">GpgFrontend::GlobalSettingStation::GetResourceDir</a></div><div class="ttdeci">std::filesystem::path GetResourceDir() const</div><div class="ttdoc">Get the Resource Dir object.</div><div class="ttdef"><b>Definition:</b> GlobalSettingStation.h:130</div></div>
|
||
|
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html">GpgFrontend::SingletonFunctionObject</a></div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.h:49</div></div>
|
||
|
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_a50e2b3794d6553f4231eaec72d9d0a50"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#a50e2b3794d6553f4231eaec72d9d0a50">GpgFrontend::SingletonFunctionObject::GetDefaultChannel</a></div><div class="ttdeci">static int GetDefaultChannel()</div><div class="ttdoc">Get the Default Channel object.</div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.h:127</div></div>
|
||
|
<div class="ttc" id="anamespaceGpgFrontend_html"><div class="ttname"><a href="namespaceGpgFrontend.html">GpgFrontend</a></div><div class="ttdef"><b>Definition:</b> CoreCommonUtil.cpp:29</div></div>
|
||
|
</div><!-- fragment --></div><!-- contents -->
|
||
|
</div><!-- doc-content -->
|
||
|
<!-- start footer part -->
|
||
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||
|
<ul>
|
||
|
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_aebb8dcc11953d78e620bbef0b9e2183.html">core</a></li><li class="navelem"><a class="el" href="dir_f8a0abd6d3586538a5b71803e0ab7ffa.html">function</a></li><li class="navelem"><b>GlobalSettingStation.h</b></li>
|
||
|
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3 </li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|