2005-08-10 20:13:07 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* Copyright (C) 2005 by Piotr Szymanski <niedakh@gmail.com> *
|
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
|
|
* (at your option) any later version. *
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _LIBGS_ASYNC_GENERATOR_
|
|
|
|
#define _LIBGS_ASYNC_GENERATOR_
|
|
|
|
|
|
|
|
#include <qpixmap.h>
|
|
|
|
#include <interpreter.h>
|
|
|
|
#include <core/generator.h>
|
2005-12-07 21:25:25 +00:00
|
|
|
class QImage;
|
2005-08-10 20:13:07 +00:00
|
|
|
class PixHandler : public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public slots:
|
2005-12-07 21:25:25 +00:00
|
|
|
void slotPixmap(const QImage* img);
|
2005-08-10 20:13:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct PageInfo
|
|
|
|
{
|
2005-11-18 20:48:01 +00:00
|
|
|
GSInterpreterLib::Position pos;
|
2005-08-10 20:13:07 +00:00
|
|
|
bool sync;
|
|
|
|
Qt::HANDLE handle;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|