38 lines
2.1 KiB
TeX
38 lines
2.1 KiB
TeX
|
\hypertarget{GpgData_8h_source}{}\doxysection{Gpg\+Data.\+h}
|
||
|
\label{GpgData_8h_source}\index{src/core/model/GpgData.h@{src/core/model/GpgData.h}}
|
||
|
|
||
|
\begin{DoxyCode}{0}
|
||
|
\DoxyCodeLine{1 }
|
||
|
\DoxyCodeLine{29 \textcolor{preprocessor}{\#ifndef \_GPGDATA\_H}}
|
||
|
\DoxyCodeLine{30 \textcolor{preprocessor}{\#define \_GPGDATA\_H}}
|
||
|
\DoxyCodeLine{31 }
|
||
|
\DoxyCodeLine{32 \textcolor{preprocessor}{\#include "{}core/GpgConstants.h"{}}}
|
||
|
\DoxyCodeLine{33 }
|
||
|
\DoxyCodeLine{34 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespaceGpgFrontend}{GpgFrontend}} \{}
|
||
|
\DoxyCodeLine{39 \textcolor{keyword}{class }\mbox{\hyperlink{classGpgFrontend_1_1GpgData}{GpgData}} \{}
|
||
|
\DoxyCodeLine{40 \textcolor{keyword}{public}:}
|
||
|
\DoxyCodeLine{45 \mbox{\hyperlink{classGpgFrontend_1_1GpgData_ac3661a9365ad72b0883a2f62ef4647da}{GpgData}}();}
|
||
|
\DoxyCodeLine{46 }
|
||
|
\DoxyCodeLine{54 \mbox{\hyperlink{classGpgFrontend_1_1GpgData_ac3661a9365ad72b0883a2f62ef4647da}{GpgData}}(\textcolor{keywordtype}{void}* buffer, \textcolor{keywordtype}{size\_t} size, \textcolor{keywordtype}{bool} copy = \textcolor{keyword}{true});}
|
||
|
\DoxyCodeLine{55 }
|
||
|
\DoxyCodeLine{61 \textcolor{keyword}{operator} gpgme\_data\_t();}
|
||
|
\DoxyCodeLine{62 }
|
||
|
\DoxyCodeLine{68 ByteArrayPtr \mbox{\hyperlink{classGpgFrontend_1_1GpgData_ae382a34ec551561315deca84c71c19c1}{Read2Buffer}}();}
|
||
|
\DoxyCodeLine{69 }
|
||
|
\DoxyCodeLine{70 \textcolor{keyword}{private}:}
|
||
|
\DoxyCodeLine{75 \textcolor{keyword}{struct }\mbox{\hyperlink{structGpgFrontend_1_1GpgData_1_1__data__ref__deleter}{\_data\_ref\_deleter}} \{}
|
||
|
\DoxyCodeLine{76 \textcolor{keywordtype}{void} operator()(gpgme\_data\_t \_data) \{}
|
||
|
\DoxyCodeLine{77 \textcolor{keywordflow}{if} (\_data != \textcolor{keyword}{nullptr}) gpgme\_data\_release(\_data);}
|
||
|
\DoxyCodeLine{78 \}}
|
||
|
\DoxyCodeLine{79 \};}
|
||
|
\DoxyCodeLine{80 }
|
||
|
\DoxyCodeLine{81 std::unique\_ptr<struct gpgme\_data, \_data\_ref\_deleter> data\_ref\_ =}
|
||
|
\DoxyCodeLine{82 \textcolor{keyword}{nullptr}; }
|
||
|
\DoxyCodeLine{83 \};}
|
||
|
\DoxyCodeLine{84 }
|
||
|
\DoxyCodeLine{85 \} \textcolor{comment}{// namespace GpgFrontend}}
|
||
|
\DoxyCodeLine{86 }
|
||
|
\DoxyCodeLine{87 \textcolor{preprocessor}{\#endif }\textcolor{comment}{// \_GPGDATA\_H}}
|
||
|
|
||
|
\end{DoxyCode}
|