summaryrefslogtreecommitdiff
path: root/Network/Cloudlog.hpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2025-09-16 12:37:12 +0200
committerChristoph Berg <myon@debian.org>2025-09-16 12:57:29 +0200
commit5a4967c577ad245a2117b7b2f71c13b1212fe285 (patch)
tree4d09343cfe757239895a0dd9b399242d2a07d7c2 /Network/Cloudlog.hpp
parent23c903a09fb1d73fd20b50323cd80cfb3aba8799 (diff)
Merge 2.7 changes, I had uploaded -1 from the wrong branch.debian/3.0.0_rc1+repack-2
Diffstat (limited to 'Network/Cloudlog.hpp')
-rwxr-xr-xNetwork/Cloudlog.hpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/Network/Cloudlog.hpp b/Network/Cloudlog.hpp
new file mode 100755
index 00000000..c35f7947
--- /dev/null
+++ b/Network/Cloudlog.hpp
@@ -0,0 +1,36 @@
+#ifndef CLOUDLOG_HPP_
+#define CLOUDLOG_HPP_
+
+#include <boost/core/noncopyable.hpp>
+#include <QObject>
+#include "pimpl_h.hpp"
+
+class QString;
+class QNetworkAccessManager;
+class Configuration;
+
+//
+// Cloudlog
+//
+class Cloudlog final
+ : public QObject
+{
+ Q_OBJECT
+
+public:
+ explicit Cloudlog (Configuration const *, QNetworkAccessManager *, QObject * parent = 0);
+ ~Cloudlog ();
+
+ void logQso(QByteArray ADIF);
+ Q_SLOT void testApi (QString const& url, QString const& apiKey);
+
+ Q_SIGNAL void apikey_ok () const;
+ Q_SIGNAL void apikey_ro () const;
+ Q_SIGNAL void apikey_invalid () const;
+
+private:
+ class impl;
+ pimpl<impl> m_;
+};
+
+#endif