Public Member Functions

boost::system::error_code subscribe (JobObserver *observer)
 
boost::system::error_code unsubscribe (JobObserver *observer)
 
int getJobid () const
 
const IPrintergetPrinter () const
 
virtual dpyPrinter::JobInformation getJobInformation ()=0
 

Protected Attributes

int m_jobid
 
IPrinterm_printer
 
std::vector< JobObserver * > mObserversList
 

Member Function Documentation

int getJobid ( ) const

Gets job id

Returns
job id
virtual dpyPrinter::JobInformation getJobInformation ( )
pure virtual

Gets job information

Returns
job information
const IPrinter* getPrinter ( ) const

Gets printer

Returns
printer