GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
CoreSignalStation.h
1 
29 #pragma once
30 
31 #include "core/GpgFrontendCoreExport.h"
32 
33 namespace GpgFrontend {
34 
35 class GpgPassphraseContext;
36 
41 class GPGFRONTEND_CORE_EXPORT CoreSignalStation : public QObject {
42  Q_OBJECT
43  static std::unique_ptr<CoreSignalStation> instance;
44 
45  public:
51  static auto GetInstance() -> CoreSignalStation*;
52 
53  signals:
54 
59  void SignalNeedUserInputPassphrase(QSharedPointer<GpgPassphraseContext>);
60 
65  void SignalUserInputPassphraseCallback(QSharedPointer<GpgPassphraseContext>);
66 
71  void SignalBadGnupgEnv(QString);
72 
77  void SignalGoodGnupgEnv();
78 };
79 
80 } // namespace GpgFrontend
Definition: CoreSignalStation.h:41
static std::unique_ptr< CoreSignalStation > instance
Definition: CoreSignalStation.h:43
Definition: app.cpp:39