38 lines
3.0 KiB
TeX
38 lines
3.0 KiB
TeX
|
\hypertarget{GpgUIDOperator_8h_source}{}\doxysection{Gpg\+UIDOperator.\+h}
|
||
|
\label{GpgUIDOperator_8h_source}\index{src/core/function/gpg/GpgUIDOperator.h@{src/core/function/gpg/GpgUIDOperator.h}}
|
||
|
|
||
|
\begin{DoxyCode}{0}
|
||
|
\DoxyCodeLine{1 }
|
||
|
\DoxyCodeLine{29 \textcolor{preprocessor}{\#ifndef GPGFRONTEND\_ZH\_CN\_TS\_UIDOPERATOR\_H}}
|
||
|
\DoxyCodeLine{30 \textcolor{preprocessor}{\#define GPGFRONTEND\_ZH\_CN\_TS\_UIDOPERATOR\_H}}
|
||
|
\DoxyCodeLine{31 }
|
||
|
\DoxyCodeLine{32 \textcolor{preprocessor}{\#include "{}core/GpgContext.h"{}}}
|
||
|
\DoxyCodeLine{33 \textcolor{preprocessor}{\#include "{}core/GpgModel.h"{}}}
|
||
|
\DoxyCodeLine{34 }
|
||
|
\DoxyCodeLine{35 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespaceGpgFrontend}{GpgFrontend}} \{}
|
||
|
\DoxyCodeLine{40 \textcolor{keyword}{class }GPGFRONTEND\_CORE\_EXPORT \mbox{\hyperlink{classGpgFrontend_1_1GpgUIDOperator}{GpgUIDOperator}}}
|
||
|
\DoxyCodeLine{41 : \textcolor{keyword}{public} \mbox{\hyperlink{classGpgFrontend_1_1SingletonFunctionObject}{SingletonFunctionObject}}<GpgUIDOperator> \{}
|
||
|
\DoxyCodeLine{42 \textcolor{keyword}{public}:}
|
||
|
\DoxyCodeLine{48 \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1GpgUIDOperator}{GpgUIDOperator}}(}
|
||
|
\DoxyCodeLine{49 \textcolor{keywordtype}{int} channel = \mbox{\hyperlink{classGpgFrontend_1_1SingletonFunctionObject_a50e2b3794d6553f4231eaec72d9d0a50}{SingletonFunctionObject::GetDefaultChannel}}());}
|
||
|
\DoxyCodeLine{50 }
|
||
|
\DoxyCodeLine{57 \textcolor{keywordtype}{bool} AddUID(\textcolor{keyword}{const} \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{GpgKey}}\& key, \textcolor{keyword}{const} std::string\& uid);}
|
||
|
\DoxyCodeLine{58 }
|
||
|
\DoxyCodeLine{67 \textcolor{keywordtype}{bool} AddUID(\textcolor{keyword}{const} \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{GpgKey}}\& key, \textcolor{keyword}{const} std::string\& name,}
|
||
|
\DoxyCodeLine{68 \textcolor{keyword}{const} std::string\& comment, \textcolor{keyword}{const} std::string\& email);}
|
||
|
\DoxyCodeLine{69 }
|
||
|
\DoxyCodeLine{76 \textcolor{keywordtype}{bool} RevUID(\textcolor{keyword}{const} \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{GpgKey}}\& key, \textcolor{keyword}{const} std::string\& uid);}
|
||
|
\DoxyCodeLine{77 }
|
||
|
\DoxyCodeLine{84 \textcolor{keywordtype}{bool} SetPrimaryUID(\textcolor{keyword}{const} \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{GpgKey}}\& key, \textcolor{keyword}{const} std::string\& uid);}
|
||
|
\DoxyCodeLine{85 }
|
||
|
\DoxyCodeLine{86 \textcolor{keyword}{private}:}
|
||
|
\DoxyCodeLine{87 \mbox{\hyperlink{classGpgFrontend_1_1GpgContext}{GpgContext}}\& ctx\_ =}
|
||
|
\DoxyCodeLine{88 \mbox{\hyperlink{classGpgFrontend_1_1SingletonFunctionObject_a8a378452876a685af879e04bfa456b6f}{GpgContext::GetInstance}}(\mbox{\hyperlink{classGpgFrontend_1_1SingletonFunctionObject_aa99440b9177f5d0c18840f08a40d64b7}{SingletonFunctionObject::GetChannel}}()); }
|
||
|
\DoxyCodeLine{89 \};}
|
||
|
\DoxyCodeLine{90 }
|
||
|
\DoxyCodeLine{91 \} \textcolor{comment}{// namespace GpgFrontend}}
|
||
|
\DoxyCodeLine{92 }
|
||
|
\DoxyCodeLine{93 \textcolor{preprocessor}{\#endif }\textcolor{comment}{// GPGFRONTEND\_ZH\_CN\_TS\_UIDOPERATOR\_H}}
|
||
|
|
||
|
\end{DoxyCode}
|