2002-11-27 02:03:14 +03:00
|
|
|
/*
|
|
|
|
* UIDriver.h
|
|
|
|
* Copyright 1999-2000 Y.Takagi. All Rights Reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __UIDRIVER_H
|
|
|
|
#define __UIDRIVER_H
|
|
|
|
|
2010-10-25 15:44:09 +04:00
|
|
|
|
2002-11-27 02:03:14 +03:00
|
|
|
class BMessage;
|
|
|
|
class PrinterData;
|
|
|
|
class PrinterCap;
|
|
|
|
class JobData;
|
|
|
|
|
2010-10-25 15:44:09 +04:00
|
|
|
|
2002-11-27 02:03:14 +03:00
|
|
|
class UIDriver {
|
|
|
|
public:
|
2010-12-08 23:07:22 +03:00
|
|
|
UIDriver(BMessage* message, PrinterData* printerData,
|
|
|
|
const PrinterCap* printerCap);
|
|
|
|
virtual ~UIDriver();
|
|
|
|
BMessage* ConfigPage();
|
|
|
|
BMessage* ConfigJob();
|
2002-11-27 02:03:14 +03:00
|
|
|
|
|
|
|
protected:
|
2010-12-08 23:07:22 +03:00
|
|
|
UIDriver(const UIDriver &);
|
2002-11-27 02:03:14 +03:00
|
|
|
|
2010-12-08 23:07:22 +03:00
|
|
|
UIDriver& operator=(const UIDriver &);
|
|
|
|
|
2017-07-16 12:15:43 +03:00
|
|
|
virtual status_t PageSetup(JobData* jobData, PrinterData* printerData,
|
2010-12-08 23:07:22 +03:00
|
|
|
const PrinterCap* printerCap);
|
2017-07-16 12:15:43 +03:00
|
|
|
virtual status_t JobSetup(JobData* jobData, PrinterData* printerData,
|
2010-12-08 23:07:22 +03:00
|
|
|
const PrinterCap* printerCap);
|
2002-11-27 02:03:14 +03:00
|
|
|
|
|
|
|
private:
|
2010-12-08 23:07:22 +03:00
|
|
|
BMessage* fMsg;
|
|
|
|
PrinterData* fPrinterData;
|
|
|
|
const PrinterCap* fPrinterCap;
|
2002-11-27 02:03:14 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __UIDRIVER_H */
|