mod_ThermalPrint.cpp 815 B

12345678910111213141516171819202122232425
  1. #include "stdafx.h"
  2. #include "mod_ThermalPrint.h"
  3. void ThermalPrintServerSession::Handle_DoPrint( SpReqAnsContext<ThermalPrintService_DoPrint_Req, ThermalPrintService_DoPrint_Ans>::Pointer ctx )
  4. {
  5. Dbg("PrintReq received!");
  6. m_pEntity->DoPrint(ctx);
  7. }
  8. void ThermalPrintServerSession::Handle_PrinterStatus( SpReqAnsContext<ThermalPrintService_PrinterStatus_Req, ThermalPrintService_PrinterStatus_Ans>::Pointer ctx )
  9. {
  10. Dbg("PrinterStatus received!");
  11. m_pEntity->PrinterStatus(ctx);
  12. }
  13. void ThermalPrintServerSession::Handle_PrintEntityStatus( SpReqAnsContext<ThermalPrintService_PrintEntityStatus_Req, ThermalPrintService_PrintEntityStatus_Ans>::Pointer ctx )
  14. {
  15. Dbg("PrintEntityStatus received!");
  16. m_pEntity->PrintEntityStatus(ctx);
  17. }
  18. SP_BEGIN_ENTITY_MAP()
  19. SP_ENTITY(CThermalPrintEntity)
  20. SP_END_ENTITY_MAP()