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 10 class BMessage; 11 class PrinterData; 12 class PrinterCap; 13 class JobData; 14 15 16 class UIDriver { 17 public: 18 UIDriver(BMessage* message, PrinterData* printerData, 19 const PrinterCap* printerCap); 20 virtual ~UIDriver(); 21 BMessage* ConfigPage(); 22 BMessage* ConfigJob(); 23 24 protected: 25 UIDriver(const UIDriver &); 26 27 UIDriver& operator=(const UIDriver &); 28 29 virtual status_t PageSetup(JobData* jobData, PrinterData* printerData, 30 const PrinterCap* printerCap); 31 virtual status_t JobSetup(JobData* jobData, PrinterData* printerData, 32 const PrinterCap* printerCap); 33 34 private: 35 BMessage* fMsg; 36 PrinterData* fPrinterData; 37 const PrinterCap* fPrinterCap; 38 }; 39 40 #endif /* __UIDRIVER_H */ 41