mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
23 lines
398 B
C++
23 lines
398 B
C++
#ifndef PDF_COMIC_H
|
|
#define PDF_COMIC_H
|
|
|
|
#include <QObject>
|
|
#include <QImage>
|
|
|
|
class MacOSXPDFComic
|
|
{
|
|
public:
|
|
MacOSXPDFComic();
|
|
~MacOSXPDFComic();
|
|
bool openComic(const QString & path);
|
|
void closeComic();
|
|
unsigned int numPages();
|
|
QImage getPage(const int page);
|
|
void releaseLastPageData();
|
|
private:
|
|
void * document;
|
|
void * lastPageData;
|
|
};
|
|
|
|
#endif // PDF_COMIC_H
|