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