GpgFrontend-Doxygen/docs/html/GlobalSettingStation_8h_source.html

234 lines
31 KiB
HTML
Raw Normal View History

2022-05-08 19:59:26 +00:00
<!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"/>
2022-05-08 22:01:23 +00:00
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
2022-05-08 19:59:26 +00:00
<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>
2022-05-08 22:01:23 +00:00
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
2022-05-08 19:59:26 +00:00
<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 -->
2022-05-08 22:01:23 +00:00
<!-- Generated by Doxygen 1.8.17 -->
2022-05-08 19:59:26 +00:00
<script type="text/javascript">
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
2022-05-08 19:59:26 +00:00
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
2022-05-08 19:59:26 +00:00
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
2022-05-08 22:01:23 +00:00
/* @license-end */</script>
2022-05-08 19:59:26 +00:00
<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">
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
2022-05-08 19:59:26 +00:00
$(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">
2022-05-08 22:01:23 +00:00
<div class="headertitle">
<div class="title">GlobalSettingStation.h</div> </div>
2022-05-08 19:59:26 +00:00
</div><!--header-->
<div class="contents">
2022-05-08 22:01:23 +00:00
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#ifndef GPGFRONTEND_GLOBALSETTINGSTATION_H</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#define GPGFRONTEND_GLOBALSETTINGSTATION_H</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#include &lt;openssl/x509.h&gt;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#include &lt;boost/filesystem/operations.hpp&gt;</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#include &lt;boost/filesystem/path.hpp&gt;</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="preprocessor">#include &quot;GpgFrontendBuildInstallInfo.h&quot;</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#include &quot;core/GpgFrontendCore.h&quot;</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="preprocessor">#include &quot;core/GpgFunctionObject.h&quot;</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; </div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceGpgFrontend.html">GpgFrontend</a> {</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html"> 47</a></span>&#160;<span class="keyword">class </span>GPGFRONTEND_CORE_EXPORT <a class="code" href="classGpgFrontend_1_1GlobalSettingStation.html">GlobalSettingStation</a></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; : <span class="keyword">public</span> <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html">SingletonFunctionObject</a>&lt;GlobalSettingStation&gt; {</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keyword">explicit</span> <a class="code" href="classGpgFrontend_1_1GlobalSettingStation.html">GlobalSettingStation</a>(</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keywordtype">int</span> channel = <a class="code" href="classGpgFrontend_1_1SingletonFunctionObject.html#a50e2b3794d6553f4231eaec72d9d0a50">SingletonFunctionObject::GetDefaultChannel</a>()) noexcept;</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; </div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; ~<a class="code" href="classGpgFrontend_1_1GlobalSettingStation.html">GlobalSettingStation</a>() noexcept <span class="keyword">override</span>;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#a14433405831283cd95091d741614d03b"> 68</a></span>&#160; libconfig::Setting &amp;<a class="code" href="classGpgFrontend_1_1GlobalSettingStation.html#a14433405831283cd95091d741614d03b">GetUISettings</a>() noexcept { <span class="keywordflow">return</span> ui_cfg_.getRoot(); }</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; </div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#ae9d1da3d01c4a834120968636596c3c3"> 75</a></span>&#160; [[nodiscard]] std::filesystem::path <a class="code" 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 name="l00076"></a><span class="lineno"> 76</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; [[nodiscard]] std::filesystem::path GetAppDataPath()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="keywordflow">return</span> app_data_path_;</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; }</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; </div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#a7da9b08291ef2391892f5c9375b8db23"> 86</a></span>&#160; [[nodiscard]] std::filesystem::path <a class="code" href="classGpgFrontend_1_1GlobalSettingStation.html#a7da9b08291ef2391892f5c9375b8db23">GetLogDir</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keywordflow">return</span> app_log_path_;</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; }</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; </div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#af484ca46c5df831a9dd76f3a88d66332"> 95</a></span>&#160; [[nodiscard]] std::filesystem::path <a class="code" href="classGpgFrontend_1_1GlobalSettingStation.html#af484ca46c5df831a9dd76f3a88d66332">GetStandaloneDatabaseDir</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <span class="keyword">auto</span> db_path = app_configure_path_ / <span class="stringliteral">&quot;db&quot;</span>;</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <span class="keywordflow">if</span> (!std::filesystem::exists(db_path)) {</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; std::filesystem::create_directory(db_path);</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; }</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keywordflow">return</span> db_path;</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; }</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; </div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; [[nodiscard]] std::filesystem::path GetAppConfigPath()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <span class="keywordflow">return</span> app_configure_path_;</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; }</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; </div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#aa93b21af9ac6649d5749c83c809f5b00"> 112</a></span>&#160; [[nodiscard]] std::filesystem::path <a class="code" href="classGpgFrontend_1_1GlobalSettingStation.html#aa93b21af9ac6649d5749c83c809f5b00">GetStandaloneGpgBinDir</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="keywordflow">return</span> app_resource_path_ / <span class="stringliteral">&quot;gpg1.4&quot;</span> / <span class="stringliteral">&quot;gpg&quot;</span>;</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; }</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; </div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#a0b3780564305e9b210d66ef377c21565"> 121</a></span>&#160; [[nodiscard]] std::filesystem::path <a class="code" href="classGpgFrontend_1_1GlobalSettingStation.html#a0b3780564305e9b210d66ef377c21565">GetLocaleDir</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="keywordflow">return</span> app_locale_path_;</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; }</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; </div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#afc1aa3dec55ae4e741f92fce1140a2d0"> 130</a></span>&#160; [[nodiscard]] std::filesystem::path <a class="code" href="classGpgFrontend_1_1GlobalSettingStation.html#afc1aa3dec55ae4e741f92fce1140a2d0">GetResourceDir</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <span class="keywordflow">return</span> app_resource_path_;</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; }</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; </div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#a385ae4ab6ad5b17742a5405fa693d789"> 139</a></span>&#160; [[nodiscard]] std::filesystem::path <a class="code" href="classGpgFrontend_1_1GlobalSettingStation.html#a385ae4ab6ad5b17742a5405fa693d789">GetCertsDir</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <span class="keywordflow">return</span> app_resource_path_ / <span class="stringliteral">&quot;certs&quot;</span>;</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; }</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; </div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <span class="keywordtype">void</span> SyncSettings() noexcept;</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; </div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; private:</div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#a678f8ba120f9ad050d0adfec4476d7ac"> 150</a></span>&#160; std::filesystem::path app_path_ =</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; qApp-&gt;applicationDirPath().toStdString(); </div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#a58fff8a42f98ad7989bffb8322344cd6"> 152</a></span>&#160; std::filesystem::path app_data_path_ =</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation)</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; .toStdString(); </div>
<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#a6459653a71cc8285fa554943c7fb3ca7"> 155</a></span>&#160; std::filesystem::path app_log_path_ =</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; app_data_path_ / &quot;logs&quot;; </div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#ad0600d475f6758503b1347722e2a933a"> 157</a></span>&#160; std::filesystem::path app_data_objs_path_ =</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; app_data_path_ / &quot;objs&quot;; </div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; </div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;<span class="preprocessor">#ifdef LINUX_INSTALL_BUILD</span></div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; std::filesystem::path app_resource_path_ =</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; std::filesystem::path(APP_LOCALSTATE_PATH) /</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <span class="stringliteral">&quot;gpgfrontend&quot;</span>; </div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#a1d94a126c78ac01ec01f10d2ce575388"> 165</a></span>&#160; std::filesystem::path app_resource_path_ =</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; RESOURCE_DIR_BOOST_PATH(app_path_); </div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160;<span class="preprocessor">#ifdef LINUX_INSTALL_BUILD</span></div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; std::filesystem::path app_locale_path_ =</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; std::string(APP_LOCALE_PATH); </div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#a25c1b45a2ccdc21dd2dcba58866169fb"> 173</a></span>&#160; std::filesystem::path app_locale_path_ =</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; app_resource_path_ / <span class="stringliteral">&quot;locales&quot;</span>; </div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; </div>
<div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#a4d04bb665571921421b853f18b8b300a"> 177</a></span>&#160; std::filesystem::path app_configure_path_ =</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation)</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; .toStdString(); </div>
<div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#ab618fef68cfd4ff6e42d4a4aa8ea94bb"> 180</a></span>&#160; std::filesystem::path ui_config_dir_path_ =</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; app_configure_path_ /</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="stringliteral">&quot;UserInterface&quot;</span>; </div>
<div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#afa99ddc25c0d5fd59a4c5f0e61d13830"> 183</a></span>&#160; std::filesystem::path ui_config_path_ =</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; ui_config_dir_path_ / <span class="stringliteral">&quot;ui.cfg&quot;</span>; </div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; </div>
<div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1GlobalSettingStation.html#a1818e08063d6a886975f77354fc5d85c"> 186</a></span>&#160; libconfig::Config <a class="code" href="classGpgFrontend_1_1GlobalSettingStation.html#a1818e08063d6a886975f77354fc5d85c">ui_cfg_</a>; </div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; </div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <span class="keywordtype">void</span> init_app_secure_key();</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;};</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160;} <span class="comment">// namespace GpgFrontend</span></div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; </div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160;<span class="preprocessor">#endif // GPGFRONTEND_GLOBALSETTINGSTATION_H</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html">GpgFrontend::SingletonFunctionObject&lt; GlobalSettingStation &gt;</a></div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GlobalSettingStation_html_ac061ac8e5308f67ea52b98888bbb2e8d"><div class="ttname"><a href="classGpgFrontend_1_1GlobalSettingStation.html#ac061ac8e5308f67ea52b98888bbb2e8d">GpgFrontend::GlobalSettingStation::SyncSettings</a></div><div class="ttdeci">void SyncSettings() noexcept</div><div class="ttdoc">sync the settings to the file</div><div class="ttdef"><b>Definition:</b> GlobalSettingStation.cpp:33</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 class="ttc" id="aclassGpgFrontend_1_1GlobalSettingStation_html_a6459653a71cc8285fa554943c7fb3ca7"><div class="ttname"><a href="classGpgFrontend_1_1GlobalSettingStation.html#a6459653a71cc8285fa554943c7fb3ca7">GpgFrontend::GlobalSettingStation::app_log_path_</a></div><div class="ttdeci">std::filesystem::path app_log_path_</div><div class="ttdoc">Program Data Location.</div><div class="ttdef"><b>Definition:</b> GlobalSettingStation.h:155</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GlobalSettingStation_html_a14433405831283cd95091d741614d03b"><div class="ttname"><a href="classGpgFrontend_1_1GlobalSettingStation.html#a14433405831283cd95091d741614d03b">GpgFrontend::GlobalSettingStation::GetUISettings</a></div><div class="ttdeci">libconfig::Setting &amp; GetUISettings() noexcept</div><div class="ttdef"><b>Definition:</b> GlobalSettingStation.h:68</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GlobalSettingStation_html_afa99ddc25c0d5fd59a4c5f0e61d13830"><div class="ttname"><a href="classGpgFrontend_1_1GlobalSettingStation.html#afa99ddc25c0d5fd59a4c5f0e61d13830">GpgFrontend::GlobalSettingStation::ui_config_path_</a></div><div class="ttdeci">std::filesystem::path ui_config_path_</div><div class="ttdoc">UI Configure File Location.</div><div class="ttdef"><b>Definition:</b> GlobalSettingStation.h:183</div></div>
2022-05-08 19:59:26 +00:00
<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>
2022-05-08 22:01:23 +00:00
<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_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>
2022-05-08 19:59:26 +00:00
<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>
2022-05-08 22:01:23 +00:00
<div class="ttc" id="aclassGpgFrontend_1_1GlobalSettingStation_html_a58fff8a42f98ad7989bffb8322344cd6"><div class="ttname"><a href="classGpgFrontend_1_1GlobalSettingStation.html#a58fff8a42f98ad7989bffb8322344cd6">GpgFrontend::GlobalSettingStation::app_data_path_</a></div><div class="ttdeci">std::filesystem::path app_data_path_</div><div class="ttdoc">Program Data Location.</div><div class="ttdef"><b>Definition:</b> GlobalSettingStation.h:152</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GlobalSettingStation_html_ab618fef68cfd4ff6e42d4a4aa8ea94bb"><div class="ttname"><a href="classGpgFrontend_1_1GlobalSettingStation.html#ab618fef68cfd4ff6e42d4a4aa8ea94bb">GpgFrontend::GlobalSettingStation::ui_config_dir_path_</a></div><div class="ttdeci">std::filesystem::path ui_config_dir_path_</div><div class="ttdoc">Configure File Directory Location.</div><div class="ttdef"><b>Definition:</b> GlobalSettingStation.h:180</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GlobalSettingStation_html_a678f8ba120f9ad050d0adfec4476d7ac"><div class="ttname"><a href="classGpgFrontend_1_1GlobalSettingStation.html#a678f8ba120f9ad050d0adfec4476d7ac">GpgFrontend::GlobalSettingStation::app_path_</a></div><div class="ttdeci">std::filesystem::path app_path_</div><div class="ttdoc">Program Location.</div><div class="ttdef"><b>Definition:</b> GlobalSettingStation.h:150</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GlobalSettingStation_html_a25c1b45a2ccdc21dd2dcba58866169fb"><div class="ttname"><a href="classGpgFrontend_1_1GlobalSettingStation.html#a25c1b45a2ccdc21dd2dcba58866169fb">GpgFrontend::GlobalSettingStation::app_locale_path_</a></div><div class="ttdeci">std::filesystem::path app_locale_path_</div><div class="ttdoc">Program Data Location.</div><div class="ttdef"><b>Definition:</b> GlobalSettingStation.h:173</div></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:47</div></div>
2022-05-08 19:59:26 +00:00
<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>
2022-05-08 22:01:23 +00:00
<div class="ttc" id="aclassGpgFrontend_1_1GlobalSettingStation_html_abdc6dda369d4214e43ffa2930f7386b0"><div class="ttname"><a href="classGpgFrontend_1_1GlobalSettingStation.html#abdc6dda369d4214e43ffa2930f7386b0">GpgFrontend::GlobalSettingStation::GlobalSettingStation</a></div><div class="ttdeci">GlobalSettingStation(int channel=SingletonFunctionObject::GetDefaultChannel()) noexcept</div><div class="ttdoc">Construct a new Global Setting Station object.</div><div class="ttdef"><b>Definition:</b> GlobalSettingStation.cpp:46</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:245</div></div>
2022-05-08 22:01:23 +00:00
<div class="ttc" id="aclassGpgFrontend_1_1GlobalSettingStation_html_a4d04bb665571921421b853f18b8b300a"><div class="ttname"><a href="classGpgFrontend_1_1GlobalSettingStation.html#a4d04bb665571921421b853f18b8b300a">GpgFrontend::GlobalSettingStation::app_configure_path_</a></div><div class="ttdeci">std::filesystem::path app_configure_path_</div><div class="ttdoc">Program Configure Location.</div><div class="ttdef"><b>Definition:</b> GlobalSettingStation.h:177</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_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_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_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>
2022-05-08 19:59:26 +00:00
<!-- 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>
2022-05-08 22:01:23 +00:00
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
2022-05-08 19:59:26 +00:00
</ul>
</div>
</body>
</html>