blob: 0ee127530c0b51a475ca226bbe655c76e6a8c66d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef DVDIMAGE_H
#define DVDIMAGE_H
#include <QObject>
class QIODevice;
class DVDImage : public QObject
{
Q_OBJECT
public:
bool saveImageToDevice(const QString &dvdDevice, QIODevice &out);
bool saveImageToPath(const QString &dvdDevice, const QString &path);
private:
static int cmpvob(const void *p1, const void *p2);
typedef struct vobfile {
int32_t start, end;
} vobfile;
signals:
void extractProgress(int current, int total);
};
#endif // DVDIMAGE_H
|