1 /* 2 * UIDriver.h 3 * Copyright 1999-2000 Y.Takagi. All Rights Reserved. 4 */ 5 6 #ifndef __UIDRIVER_H 7 #define __UIDRIVER_H 8 9 class BMessage; 10 class PrinterData; 11 class PrinterCap; 12 class JobData; 13 14 class UIDriver { 15 public: 16 UIDriver(BMessage *msg, PrinterData *printer_data, const PrinterCap *printer_cap); 17 virtual ~UIDriver(); 18 BMessage *configPage(); 19 BMessage *configJob(); 20 21 protected: 22 virtual long doPageSetup(JobData *job_data, PrinterData *printer_data, const PrinterCap *printer_cap); 23 virtual long doJobSetup(JobData *job_data, PrinterData *printer_data, const PrinterCap *printer_cap); 24 25 UIDriver(const UIDriver &); 26 UIDriver &operator = (const UIDriver &); 27 28 private: 29 BMessage *fMsg; 30 PrinterData *fPrinterData; 31 const PrinterCap *fPrinterCap; 32 }; 33 34 #endif /* __UIDRIVER_H */ 35