GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
VersionCheckingModule.h
1 
29 #pragma once
30 
31 #include "GpgFrontendModuleExport.h"
32 #include "SoftwareVersion.h"
33 #include "core/module/Module.h"
34 
36 
37 class GPGFRONTEND_INTEGRATED_MODULE_VERSION_CHECKING_EXPORT
38  VersionCheckingModule : public Module {
39  Q_OBJECT
40  public:
42 
43  ~VersionCheckingModule() override;
44 
45  auto Register() -> bool override;
46 
47  auto Active() -> bool override;
48 
49  auto Exec(EventRefrernce) -> int override;
50 
51  auto Deactive() -> bool override;
52 
53  signals:
54 
55  void SignalVersionCheckDone(SoftwareVersion);
56 
57  public slots:
58 
59  void SlotVersionCheckDone(SoftwareVersion);
60 };
61 } // namespace GpgFrontend::Module::Integrated::VersionCheckingModule
Definition: Module.h:47