12345678910111213141516171819202122232425 |
- #include "stdafx.h"
- #include "mod_ThermalPrint.h"
- void ThermalPrintServerSession::Handle_DoPrint( SpReqAnsContext<ThermalPrintService_DoPrint_Req, ThermalPrintService_DoPrint_Ans>::Pointer ctx )
- {
- Dbg("PrintReq received!");
- m_pEntity->DoPrint(ctx);
- }
- void ThermalPrintServerSession::Handle_PrinterStatus( SpReqAnsContext<ThermalPrintService_PrinterStatus_Req, ThermalPrintService_PrinterStatus_Ans>::Pointer ctx )
- {
- Dbg("PrinterStatus received!");
- m_pEntity->PrinterStatus(ctx);
- }
- void ThermalPrintServerSession::Handle_PrintEntityStatus( SpReqAnsContext<ThermalPrintService_PrintEntityStatus_Req, ThermalPrintService_PrintEntityStatus_Ans>::Pointer ctx )
- {
- Dbg("PrintEntityStatus received!");
- m_pEntity->PrintEntityStatus(ctx);
- }
- SP_BEGIN_ENTITY_MAP()
- SP_ENTITY(CThermalPrintEntity)
- SP_END_ENTITY_MAP()
|