Refactoring: fix mixed indentation and add curly braces in comic.cpp

This commit is contained in:
Felix Kauselmann
2016-10-17 22:01:23 +02:00
commit 2edfe534bd
986 changed files with 90343 additions and 0 deletions

22
common/pdf_comic.h Normal file
View File

@ -0,0 +1,22 @@
#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