12fd6cc2e7
* move libprint headers into libs headers folder accordingly * merge all shared folders sources into kits print, we might build later on a real print kit, propably also to access cups from an nicely API, atm static * move all shared headers into private print, also pr_server.h from interface * adjust build to work with the changed folder layout git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26570 a95241bf-73f2-0310-859d-f6bbb57e9c96
35 lines
789 B
C++
35 lines
789 B
C++
/*
|
|
* UIDriver.h
|
|
* Copyright 1999-2000 Y.Takagi. All Rights Reserved.
|
|
*/
|
|
|
|
#ifndef __UIDRIVER_H
|
|
#define __UIDRIVER_H
|
|
|
|
class BMessage;
|
|
class PrinterData;
|
|
class PrinterCap;
|
|
class JobData;
|
|
|
|
class UIDriver {
|
|
public:
|
|
UIDriver(BMessage *msg, PrinterData *printer_data, const PrinterCap *printer_cap);
|
|
virtual ~UIDriver();
|
|
BMessage *configPage();
|
|
BMessage *configJob();
|
|
|
|
protected:
|
|
virtual long doPageSetup(JobData *job_data, PrinterData *printer_data, const PrinterCap *printer_cap);
|
|
virtual long doJobSetup(JobData *job_data, PrinterData *printer_data, const PrinterCap *printer_cap);
|
|
|
|
UIDriver(const UIDriver &);
|
|
UIDriver &operator = (const UIDriver &);
|
|
|
|
private:
|
|
BMessage *fMsg;
|
|
PrinterData *fPrinterData;
|
|
const PrinterCap *fPrinterCap;
|
|
};
|
|
|
|
#endif /* __UIDRIVER_H */
|