GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
CoreSignalStation.h
1 
29 #ifndef GPGFRONTEND_CORESIGNALSTATION_H
30 #define GPGFRONTEND_CORESIGNALSTATION_H
31 
32 #include "core/GpgFrontendCore.h"
33 
34 namespace GpgFrontend {
35 
40 class GPGFRONTEND_CORE_EXPORT CoreSignalStation : public QObject {
41  Q_OBJECT
42  static std::unique_ptr<CoreSignalStation> _instance;
43 
44  public:
50  static CoreSignalStation* GetInstance();
51 
52  signals:
53 
58  void SignalUserInputPassphraseDone(QString passparase);
59 
64  void SignalNeedUserInputPassphrase();
65 };
66 
67 } // namespace GpgFrontend
68 
69 #endif // GPGFRONTEND_CORESIGNALSTATION_H
Definition: CoreSignalStation.h:40
static std::unique_ptr< CoreSignalStation > _instance
Definition: CoreSignalStation.h:42
Definition: CoreCommonUtil.cpp:31