home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
Linux
/
Divers
/
lyx-0.13.2.tar.gz
/
lyx-0.13.2.tar
/
lyx-0.13.2
/
src
/
gsqueue.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-04-23
|
625b
|
32 lines
// -*- C++ -*-
#ifndef _GSQUEUE_H
#define _GSQUEUE_H
#include "figlist.h"
// A queue of images to process by gs
class GSQueue {
public:
GSQueue() {
queue = NULL;
gsrunning = 0;
}
struct Queue {
float rx, ry; // resolution x and y
int ofsx, ofsy; // x and y translation
figdata *data; // we are doing it for this data
Queue *next; // next item in queue
};
Queue *queue; // queue for ghostscripting
unsigned int gsrunning; // currently so many gs's are running
// Are any gs processes working at the moment?
bool gsworking() {
return gsrunning > 0;
}
void runqueue();
};
extern GSQueue gsQ;
#endif