21 lines
460 B
C++
21 lines
460 B
C++
#ifndef IFILEDIAL0GSERVICE_H
|
|
#define IFILEDIAL0GSERVICE_H
|
|
|
|
#include <QObject>
|
|
#include <QString>
|
|
#include <QStringList>
|
|
|
|
class IFileDialogService : public QObject {
|
|
Q_OBJECT
|
|
public:
|
|
explicit IFileDialogService(QObject *parent = nullptr) : QObject(parent) {}
|
|
~IFileDialogService() override = default;
|
|
|
|
virtual void open(const QStringList &extensions) = 0;
|
|
|
|
signals:
|
|
void fileSelected(const QString &path);
|
|
};
|
|
|
|
#endif // IFILEDIAL0GSERVICE_H
|