retro-imager/mac/macfile.h

23 lines
432 B
C
Raw Normal View History

2020-03-04 16:55:40 +01:00
#ifndef MACFILE_H
#define MACFILE_H
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright (C) 2020 Raspberry Pi Ltd
2020-03-04 16:55:40 +01:00
*/
#include <QFile>
class MacFile : public QFile
{
Q_OBJECT
public:
enum authOpenResult {authOpenCancelled, authOpenSuccess, authOpenError };
2020-03-04 16:55:40 +01:00
MacFile(QObject *parent = nullptr);
virtual bool isSequential() const;
authOpenResult authOpen(const QByteArray &filename);
2020-03-04 16:55:40 +01:00
};
#endif // MACFILE_H