GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
CoreCommonUtil.h
1 
27 #ifndef GPGFRONTEND_CORECOMMONUTIL_H
28 #define GPGFRONTEND_CORECOMMONUTIL_H
29 
30 #include "core/GpgFrontendCore.h"
31 
32 namespace GpgFrontend {
33 
34 class GPGFRONTEND_CORE_EXPORT CoreCommonUtil : public QObject {
35  Q_OBJECT
36  public:
41  static CoreCommonUtil *GetInstance();
42 
47  CoreCommonUtil() = default;
48 
49  signals:
50 
55  void SignalGnupgNotInstall();
56 
57  private:
58  static std::unique_ptr<CoreCommonUtil> instance_;
59 };
60 
61 } // namespace GpgFrontend
62 
63 #endif // GPGFRONTEND_CORECOMMONUTIL_H
Definition: CoreCommonUtil.h:34
Definition: CoreCommonUtil.cpp:29