2002-11-27 02:03:14 +03:00
|
|
|
/*
|
|
|
|
* UIDriver.h
|
|
|
|
* Copyright 1999-2000 Y.Takagi. All Rights Reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __UIDRIVER_H
|
|
|
|
#define __UIDRIVER_H
|
|
|
|
|
|
|
|
class BMessage;
|
|
|
|
class PrinterData;
|
|
|
|
class PrinterCap;
|
|
|
|
class JobData;
|
|
|
|
|
|
|
|
class UIDriver {
|
|
|
|
public:
|
|
|
|
UIDriver(BMessage *msg, PrinterData *printer_data, const PrinterCap *printer_cap);
|
|
|
|
virtual ~UIDriver();
|
|
|
|
BMessage *configPage();
|
|
|
|
BMessage *configJob();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual long doPageSetup(JobData *job_data, PrinterData *printer_data, const PrinterCap *printer_cap);
|
|
|
|
virtual long doJobSetup(JobData *job_data, PrinterData *printer_data, const PrinterCap *printer_cap);
|
|
|
|
|
|
|
|
UIDriver(const UIDriver &);
|
|
|
|
UIDriver &operator = (const UIDriver &);
|
|
|
|
|
|
|
|
private:
|
2004-01-30 20:10:36 +03:00
|
|
|
BMessage *fMsg;
|
|
|
|
PrinterData *fPrinterData;
|
|
|
|
const PrinterCap *fPrinterCap;
|
2002-11-27 02:03:14 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __UIDRIVER_H */
|