PrinterObserver Class Referenceabstract
Printer Observer class.
#include <iPrinter.h>
Public Member Functions | |
virtual void | PrinterStatusChange (std::string printerid, const dpyPrinter::PrinterStatus &status)=0 |
virtual void | PrinterNewEvent (std::string printerid, const dpyPrinter::PrinterEvent &event, bool active)=0 |
virtual void | PaperNewEvent (boost::system::error_code ec, const std::string &printerid, const dpyPrinter::PaperLevel &event)=0 |
virtual | ~PrinterObserver () |
Destructor. | |
Member Function Documentation
|
pure virtual |
This function will be called on status changes
- Parameters
-
printerid printer id event printer event ec error code
|
pure virtual |
This function will be called on status changes
- Parameters
-
printerid printer id event printer event active indicates if the event has been activated or deactivated
|
pure virtual |
This function will be called on status changes
- Parameters
-
printerid printer id status printer status