1 /* 2 * Lips3Entry.cpp 3 * Copyright 1999-2000 Y.Takagi. All Rights Reserved. 4 */ 5 6 7 #include "Lips3.h" 8 #include "Lips3Cap.h" 9 #include "PrinterDriver.h" 10 11 12 class Lips3PrinterDriver : public PrinterDriver 13 { 14 public: Lips3PrinterDriver(BNode * printerFolder)15 Lips3PrinterDriver(BNode* printerFolder) : PrinterDriver(printerFolder) {} 16 GetSignature() const17 const char* GetSignature() const 18 { 19 return "application/x-vnd.lips3-compatible"; 20 } 21 GetDriverName() const22 const char* GetDriverName() const 23 { 24 return "Canon LIPS3 compatible"; 25 } 26 GetVersion() const27 const char* GetVersion() const 28 { 29 return "0.9.4"; 30 } 31 GetCopyright() const32 const char* GetCopyright() const 33 { 34 return "Copyright © 1999-2000 Y.Takagi.\n"; 35 } 36 InstantiatePrinterCap(PrinterData * printerData)37 PrinterCap* InstantiatePrinterCap(PrinterData* printerData) 38 { 39 return new Lips3Cap(printerData); 40 } 41 InstantiateGraphicsDriver(BMessage * settings,PrinterData * printerData,PrinterCap * printerCap)42 GraphicsDriver* InstantiateGraphicsDriver(BMessage* settings, 43 PrinterData* printerData, PrinterCap* printerCap) 44 { 45 return new LIPS3Driver(settings, printerData, printerCap); 46 } 47 }; 48 49 instantiate_printer_driver(BNode * printerFolder)50PrinterDriver* instantiate_printer_driver(BNode* printerFolder) 51 { 52 return new Lips3PrinterDriver(printerFolder); 53 } 54