223 lines
13 KiB
HTML
223 lines
13 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=9"/>
|
|
<meta name="generator" content="Doxygen 1.9.1"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>GpgFrontend Project: GpgFrontend::CoreCommonUtil Class Reference</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 style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<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.1 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(function(){initNavTree('classGpgFrontend_1_1CoreCommonUtil.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="summary">
|
|
<a href="#signals">Signals</a> |
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-static-methods">Static Public Member Functions</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> |
|
|
<a href="#pri-static-attribs">Static Private Attributes</a> |
|
|
<a href="classGpgFrontend_1_1CoreCommonUtil-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">GpgFrontend::CoreCommonUtil Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="dynheader">
|
|
Inheritance diagram for GpgFrontend::CoreCommonUtil:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classGpgFrontend_1_1CoreCommonUtil__inherit__graph.png" border="0" usemap="#aGpgFrontend_1_1CoreCommonUtil_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="aGpgFrontend_1_1CoreCommonUtil_inherit__map" id="aGpgFrontend_1_1CoreCommonUtil_inherit__map">
|
|
<area shape="rect" title=" " alt="" coords="5,131,231,281"/>
|
|
<area shape="rect" title=" " alt="" coords="81,5,155,83"/>
|
|
</map>
|
|
</div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for GpgFrontend::CoreCommonUtil:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classGpgFrontend_1_1CoreCommonUtil__coll__graph.png" border="0" usemap="#aGpgFrontend_1_1CoreCommonUtil_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="aGpgFrontend_1_1CoreCommonUtil_coll__map" id="aGpgFrontend_1_1CoreCommonUtil_coll__map">
|
|
<area shape="rect" title=" " alt="" coords="101,469,326,605"/>
|
|
<area shape="rect" title=" " alt="" coords="5,322,80,399"/>
|
|
<area shape="rect" title=" " alt="" coords="105,315,322,407"/>
|
|
<area shape="rect" title=" " alt="" coords="131,160,288,237"/>
|
|
<area shape="rect" title=" " alt="" coords="255,13,294,90"/>
|
|
<area shape="rect" title=" " alt="" coords="354,160,489,237"/>
|
|
<area shape="rect" title=" " alt="" coords="355,315,517,407"/>
|
|
<area shape="rect" title=" " alt="" coords="537,160,623,237"/>
|
|
<area shape="rect" title=" " alt="" coords="511,5,649,97"/>
|
|
<area shape="rect" title=" " alt="" coords="402,13,441,90"/>
|
|
</map>
|
|
</div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
|
|
Signals</h2></td></tr>
|
|
<tr class="memitem:ae78bbd20a519cbd8b4384e443c98231e"><td class="memItemLeft" align="right" valign="top"><a id="ae78bbd20a519cbd8b4384e443c98231e"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>SignalGnupgNotInstall</b> ()</td></tr>
|
|
<tr class="separator:ae78bbd20a519cbd8b4384e443c98231e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:abe5fa8731b0b672613505d59a576a3d7"><td class="memItemLeft" align="right" valign="top"><a id="abe5fa8731b0b672613505d59a576a3d7"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1CoreCommonUtil.html#abe5fa8731b0b672613505d59a576a3d7">SetTempCacheValue</a> (const std::string &, const std::string &)</td></tr>
|
|
<tr class="memdesc:abe5fa8731b0b672613505d59a576a3d7"><td class="mdescLeft"> </td><td class="mdescRight">set a temp cache under a certain key <br /></td></tr>
|
|
<tr class="separator:abe5fa8731b0b672613505d59a576a3d7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa3e4003ca3248537973ea6cf42e9f040"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1CoreCommonUtil.html#aa3e4003ca3248537973ea6cf42e9f040">GetTempCacheValue</a> (const std::string &)</td></tr>
|
|
<tr class="memdesc:aa3e4003ca3248537973ea6cf42e9f040"><td class="mdescLeft"> </td><td class="mdescRight">after get the temp cache, its value will be imediately ease in storage <a href="classGpgFrontend_1_1CoreCommonUtil.html#aa3e4003ca3248537973ea6cf42e9f040">More...</a><br /></td></tr>
|
|
<tr class="separator:aa3e4003ca3248537973ea6cf42e9f040"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae2df4542d0d7d15a542f9c664f1f295f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1CoreCommonUtil.html#ae2df4542d0d7d15a542f9c664f1f295f">ResetTempCacheValue</a> (const std::string &)</td></tr>
|
|
<tr class="memdesc:ae2df4542d0d7d15a542f9c664f1f295f"><td class="mdescLeft"> </td><td class="mdescRight">imediately ease temp cache in storage <a href="classGpgFrontend_1_1CoreCommonUtil.html#ae2df4542d0d7d15a542f9c664f1f295f">More...</a><br /></td></tr>
|
|
<tr class="separator:ae2df4542d0d7d15a542f9c664f1f295f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
|
|
Static Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a8588dfa6ccb57c055f022b13e2da1e7c"><td class="memItemLeft" align="right" valign="top"><a id="a8588dfa6ccb57c055f022b13e2da1e7c"></a>
|
|
static <a class="el" href="classGpgFrontend_1_1CoreCommonUtil.html">CoreCommonUtil</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1CoreCommonUtil.html#a8588dfa6ccb57c055f022b13e2da1e7c">GetInstance</a> ()</td></tr>
|
|
<tr class="memdesc:a8588dfa6ccb57c055f022b13e2da1e7c"><td class="mdescLeft"> </td><td class="mdescRight">Construct a new Core Common Util object. <br /></td></tr>
|
|
<tr class="separator:a8588dfa6ccb57c055f022b13e2da1e7c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
|
|
Private Attributes</h2></td></tr>
|
|
<tr class="memitem:a4d36aa8744c3fb246080075ca1d81c9a"><td class="memItemLeft" align="right" valign="top"><a id="a4d36aa8744c3fb246080075ca1d81c9a"></a>
|
|
std::map< std::string, std::string > </td><td class="memItemRight" valign="bottom"><b>temp_cache_</b></td></tr>
|
|
<tr class="separator:a4d36aa8744c3fb246080075ca1d81c9a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-attribs"></a>
|
|
Static Private Attributes</h2></td></tr>
|
|
<tr class="memitem:a84e293c5806f34231e682426092ed298"><td class="memItemLeft" align="right" valign="top"><a id="a84e293c5806f34231e682426092ed298"></a>
|
|
static std::unique_ptr< <a class="el" href="classGpgFrontend_1_1CoreCommonUtil.html">CoreCommonUtil</a> > </td><td class="memItemRight" valign="bottom"><b>instance_</b> = nullptr</td></tr>
|
|
<tr class="separator:a84e293c5806f34231e682426092ed298"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="aa3e4003ca3248537973ea6cf42e9f040"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa3e4003ca3248537973ea6cf42e9f040">◆ </a></span>GetTempCacheValue()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::string GpgFrontend::CoreCommonUtil::GetTempCacheValue </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::string & </td>
|
|
<td class="paramname"><em>key</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>after get the temp cache, its value will be imediately ease in storage </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>std::string </dd></dl>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1GpgContext.html#af46f09a4f5c77429c3e782b551812ec2">GpgFrontend::GpgContext::custom_passphrase_cb()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae2df4542d0d7d15a542f9c664f1f295f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae2df4542d0d7d15a542f9c664f1f295f">◆ </a></span>ResetTempCacheValue()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void GpgFrontend::CoreCommonUtil::ResetTempCacheValue </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::string & </td>
|
|
<td class="paramname"><em>key</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>imediately ease temp cache in storage </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>std::string </dd></dl>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1KeyGenDialog.html#af1f7a62dcb024513453766ee8816d514">GpgFrontend::UI::KeyGenDialog::slot_key_gen_accept()</a>, and <a class="el" href="classGpgFrontend_1_1UI_1_1SubkeyGenerateDialog.html#aab426dec4b4655b215b09b490e05ad05">GpgFrontend::UI::SubkeyGenerateDialog::slot_key_gen_accept()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li>src/core/common/<a class="el" href="CoreCommonUtil_8h_source.html">CoreCommonUtil.h</a></li>
|
|
<li>src/core/common/CoreCommonUtil.cpp</li>
|
|
</ul>
|
|
</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="namespaceGpgFrontend.html">GpgFrontend</a></li><li class="navelem"><a class="el" href="classGpgFrontend_1_1CoreCommonUtil.html">CoreCommonUtil</a></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.1 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|