summaryrefslogtreecommitdiff
path: root/Network/Cloudlog.hpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2025-09-15 23:04:23 +0200
committerChristoph Berg <myon@debian.org>2025-09-15 23:04:23 +0200
commit0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (patch)
treed702795f99ac38e0cc17e25f0f7e50fa3e05baf9 /Network/Cloudlog.hpp
parent310d05acf2c9233f7e336ae7dd9ffb7b54ca4e62 (diff)
New upstream version 3.0.0~rc1+repackupstream/3.0.0_rc1+repack
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