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: 15 Lips3PrinterDriver(BNode* printerFolder) : PrinterDriver(printerFolder) {} 16 17 const char* GetSignature() const 18 { 19 return "application/x-vnd.lips3-compatible"; 20 } 21 22 const char* GetDriverName() const 23 { 24 return "Canon LIPS3 compatible"; 25 } 26 27 const char* GetVersion() const 28 { 29 return "0.9.4"; 30 } 31 32 const char* GetCopyright() const 33 { 34 return "Copyright © 1999-2000 Y.Takagi.\n"; 35 } 36 37 PrinterCap* InstantiatePrinterCap(PrinterData* printerData) 38 { 39 return new Lips3Cap(printerData); 40 } 41 42 GraphicsDriver* InstantiateGraphicsDriver(BMessage* settings, 43 PrinterData* printerData, PrinterCap* printerCap) 44 { 45 return new LIPS3Driver(settings, printerData, printerCap); 46 } 47 }; 48 49 50 PrinterDriver* instantiate_printer_driver(BNode* printerFolder) 51 { 52 return new Lips3PrinterDriver(printerFolder); 53 } 54