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 908d759feSMichael Pfeiffer 1012fd6cc2SKarsten Heimrich class BMessage; 1112fd6cc2SKarsten Heimrich class PrinterData; 1212fd6cc2SKarsten Heimrich class PrinterCap; 1312fd6cc2SKarsten Heimrich class JobData; 1412fd6cc2SKarsten Heimrich 1508d759feSMichael Pfeiffer 1612fd6cc2SKarsten Heimrich class UIDriver { 1712fd6cc2SKarsten Heimrich public: 184a0c1e13SMichael Pfeiffer UIDriver(BMessage* message, PrinterData* printerData, 194a0c1e13SMichael Pfeiffer const PrinterCap* printerCap); 2012fd6cc2SKarsten Heimrich virtual ~UIDriver(); 214a0c1e13SMichael Pfeiffer BMessage* ConfigPage(); 224a0c1e13SMichael Pfeiffer BMessage* ConfigJob(); 2312fd6cc2SKarsten Heimrich 2412fd6cc2SKarsten Heimrich protected: 2512fd6cc2SKarsten Heimrich UIDriver(const UIDriver &); 264a0c1e13SMichael Pfeiffer 2712fd6cc2SKarsten Heimrich UIDriver& operator=(const UIDriver &); 2812fd6cc2SKarsten Heimrich 29*c57b500aSJérôme Duval virtual status_t PageSetup(JobData* jobData, PrinterData* printerData, 304a0c1e13SMichael Pfeiffer const PrinterCap* printerCap); 31*c57b500aSJérôme Duval virtual status_t JobSetup(JobData* jobData, PrinterData* printerData, 324a0c1e13SMichael Pfeiffer const PrinterCap* printerCap); 334a0c1e13SMichael Pfeiffer 3412fd6cc2SKarsten Heimrich private: 3512fd6cc2SKarsten Heimrich BMessage* fMsg; 3612fd6cc2SKarsten Heimrich PrinterData* fPrinterData; 3712fd6cc2SKarsten Heimrich const PrinterCap* fPrinterCap; 3812fd6cc2SKarsten Heimrich }; 3912fd6cc2SKarsten Heimrich 4012fd6cc2SKarsten Heimrich #endif /* __UIDRIVER_H */ 41