mirror of
				https://github.com/YACReader/yacreader
				synced 2025-11-03 16:54:39 -05: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
 |