112fd6cc2SKarsten Heimrich /* 212fd6cc2SKarsten Heimrich * UIDriver.h 312fd6cc2SKarsten Heimrich * Copyright 1999-2000 Y.Takagi. All Rights Reserved. 412fd6cc2SKarsten Heimrich */ 512fd6cc2SKarsten Heimrich 612fd6cc2SKarsten Heimrich #ifndef __UIDRIVER_H 712fd6cc2SKarsten Heimrich #define __UIDRIVER_H 812fd6cc2SKarsten Heimrich 9*08d759feSMichael Pfeiffer 1012fd6cc2SKarsten Heimrich class BMessage; 1112fd6cc2SKarsten Heimrich class PrinterData; 1212fd6cc2SKarsten Heimrich class PrinterCap; 1312fd6cc2SKarsten Heimrich class JobData; 1412fd6cc2SKarsten Heimrich 15*08d759feSMichael Pfeiffer 1612fd6cc2SKarsten Heimrich class UIDriver { 1712fd6cc2SKarsten Heimrich public: 1812fd6cc2SKarsten Heimrich UIDriver(BMessage *msg, PrinterData *printer_data, const PrinterCap *printer_cap); 1912fd6cc2SKarsten Heimrich virtual ~UIDriver(); 2012fd6cc2SKarsten Heimrich BMessage *configPage(); 2112fd6cc2SKarsten Heimrich BMessage *configJob(); 2212fd6cc2SKarsten Heimrich 2312fd6cc2SKarsten Heimrich protected: 2412fd6cc2SKarsten Heimrich virtual long doPageSetup(JobData *job_data, PrinterData *printer_data, const PrinterCap *printer_cap); 2512fd6cc2SKarsten Heimrich virtual long doJobSetup(JobData *job_data, PrinterData *printer_data, const PrinterCap *printer_cap); 2612fd6cc2SKarsten Heimrich 2712fd6cc2SKarsten Heimrich UIDriver(const UIDriver &); 2812fd6cc2SKarsten Heimrich UIDriver &operator = (const UIDriver &); 2912fd6cc2SKarsten Heimrich 3012fd6cc2SKarsten Heimrich private: 3112fd6cc2SKarsten Heimrich BMessage *fMsg; 3212fd6cc2SKarsten Heimrich PrinterData *fPrinterData; 3312fd6cc2SKarsten Heimrich const PrinterCap *fPrinterCap; 3412fd6cc2SKarsten Heimrich }; 3512fd6cc2SKarsten Heimrich 3612fd6cc2SKarsten Heimrich #endif /* __UIDRIVER_H */ 37