GpgFrontend-Doxygen/docs/latex/CoreCommonUtil_8h_source.tex

33 lines
1.7 KiB
TeX
Raw Normal View History

2022-05-08 19:59:26 +00:00
\hypertarget{CoreCommonUtil_8h_source}{}\doxysection{Core\+Common\+Util.\+h}
\label{CoreCommonUtil_8h_source}\index{src/core/common/CoreCommonUtil.h@{src/core/common/CoreCommonUtil.h}}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{27 \textcolor{preprocessor}{\#ifndef GPGFRONTEND\_CORECOMMONUTIL\_H}}
\DoxyCodeLine{28 \textcolor{preprocessor}{\#define GPGFRONTEND\_CORECOMMONUTIL\_H}}
\DoxyCodeLine{29 }
\DoxyCodeLine{30 \textcolor{preprocessor}{\#include "{}core/GpgFrontendCore.h"{}}}
\DoxyCodeLine{31 }
\DoxyCodeLine{32 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespaceGpgFrontend}{GpgFrontend}} \{}
\DoxyCodeLine{33 }
\DoxyCodeLine{34 \textcolor{keyword}{class }GPGFRONTEND\_CORE\_EXPORT \mbox{\hyperlink{classGpgFrontend_1_1CoreCommonUtil}{CoreCommonUtil}} : \textcolor{keyword}{public} QObject \{}
\DoxyCodeLine{35 Q\_OBJECT}
\DoxyCodeLine{36 \textcolor{keyword}{public}:}
\DoxyCodeLine{41 \textcolor{keyword}{static} \mbox{\hyperlink{classGpgFrontend_1_1CoreCommonUtil}{CoreCommonUtil}} *GetInstance();}
\DoxyCodeLine{42 }
\DoxyCodeLine{47 \mbox{\hyperlink{classGpgFrontend_1_1CoreCommonUtil}{CoreCommonUtil}}() = \textcolor{keywordflow}{default};}
\DoxyCodeLine{48 }
\DoxyCodeLine{49 signals:}
\DoxyCodeLine{50 }
\DoxyCodeLine{55 \textcolor{keywordtype}{void} SignalGnupgNotInstall();}
\DoxyCodeLine{56 }
\DoxyCodeLine{57 \textcolor{keyword}{private}:}
\DoxyCodeLine{58 \textcolor{keyword}{static} std::unique\_ptr<CoreCommonUtil> instance\_; }
\DoxyCodeLine{59 \};}
\DoxyCodeLine{60 }
\DoxyCodeLine{61 \} \textcolor{comment}{// namespace GpgFrontend}}
\DoxyCodeLine{62 }
\DoxyCodeLine{63 \textcolor{preprocessor}{\#endif }\textcolor{comment}{// GPGFRONTEND\_CORECOMMONUTIL\_H}}
\end{DoxyCode}