blob: 865faff89a4790fa9cbda13044c121cb4d3c7088 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/*
* Copyright (C) 2013-2026 Jolla Ltd.
*/
#ifndef MASTODONTRANSFERPLUGIN_H
#define MASTODONTRANSFERPLUGIN_H
#include <QtCore/QObject>
#include <transferplugininterface.h>
class QNetworkAccessManager;
class Q_DECL_EXPORT MastodonTransferPlugin : public QObject, public TransferPluginInterface
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.sailfishos.transfer.plugin.mastodon")
Q_INTERFACES(TransferPluginInterface)
public:
MastodonTransferPlugin();
~MastodonTransferPlugin();
MediaTransferInterface *transferObject();
QString pluginId() const;
private:
QNetworkAccessManager *m_qnam;
};
#endif // MASTODONTRANSFERPLUGIN_H
|