aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/function/GenerateRevokeCertification.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui/function/GenerateRevokeCertification.h (renamed from src/ui/SignalStation.cpp)22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/ui/SignalStation.cpp b/src/ui/function/GenerateRevokeCertification.h
index c1f1238f..edc0161b 100644
--- a/src/ui/SignalStation.cpp
+++ b/src/ui/function/GenerateRevokeCertification.h
@@ -1,5 +1,5 @@
/**
- * Copyright (C) 2021 Saturneric
+ * Copyright (C) 2021 Saturneric <[email protected]>
*
* This file is part of GpgFrontend.
*
@@ -20,25 +20,25 @@
* the gpg4usb project, which is under GPL-3.0-or-later.
*
* All the source code of GpgFrontend was modified and released by
- * Saturneric<[email protected]> starting on May 12, 2021.
+ * Saturneric <[email protected]> starting on May 12, 2021.
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
-#include "SignalStation.h"
+#pragma once
-#include "UserInterfaceUtils.h"
+#include "core/GpgModel.h"
+#include "ui/GpgFrontendUI.h"
namespace GpgFrontend::UI {
-std::unique_ptr<SignalStation> SignalStation::_instance = nullptr;
+class GenerateRevokeCertification : public QWidget {
+ Q_OBJECT
+ public:
+ explicit GenerateRevokeCertification(QWidget* parent);
-SignalStation* SignalStation::GetInstance() {
- if (_instance == nullptr) {
- _instance = std::make_unique<SignalStation>();
- }
- return _instance.get();
-}
+ auto Exec(const GpgKey& key, const QString& output_path) -> int;
+};
} // namespace GpgFrontend::UI