| 1 | #pragma once |
| 2 | |
| 3 | #include "pch.h" |
| 4 | #include "ui_remote_widget.h" |
| 5 | |
| 6 | class IconCache; |
| 7 | |
| 8 | class RemoteWidget : public QWidget { |
| 9 | Q_OBJECT |
| 10 | |
| 11 | public: |
| 12 | RemoteWidget(IconCache *icons, const QString &remote, bool isLocal, |
| 13 | bool isGoogle, QWidget *parent = nullptr); |
| 14 | ~RemoteWidget(); |
| 15 | |
| 16 | signals: |
| 17 | void addTransfer(const QString &message, const QString &source, |
| 18 | const QString &remote, const QStringList &args); |
| 19 | void addMount(const QString &remote, const QString &folder); |
| 20 | void addStream(const QString &remote, const QString &stream); |
| 21 | |
| 22 | private: |
| 23 | Ui::RemoteWidget ui; |
| 24 | }; |