?? shppsession.h
字號:
/*******************************************
* file name: SHPPSession.h
* date: 2002.10.14
* 用途: 定義自助話打印協議SHPP
* 作者: 林游海
*******************************************/
#if !defined(_SHPPSESSION_H_LINYOUHAI)
#define _SHPPSESSION_H_LINYOUHAI
#include "Tuxedo.h"
#include "SHPPSessionInterface.h"
#include "dbadmin.h"
#import "c:\program files\common files\system\ado\msado15.dll" rename_namespace("ADODB") rename("EOF", "ADOEOF")
#include "SHPPRequest.h"
class CSHPPSession :public CSHPPSessionInterface
{
public:
CSHPPRequest *m_pShppRequest;
CSHPPSession(CSHPPSocket* pSocket,CDBAdmin *pDBAmin,UInt32 nSessionID,long nPosNO,char* pClientIP = NULL);
~CSHPPSession();//{ /*m_H2Session.H2Close();*/}
//處理請求
protected:
virtual KN_Error UserCheckPass(char* pPhone,char *pPass,char *pOther = NULL,char *pOutError = NULL);
virtual KN_Error UserCheck2Pass(char* pPhone,char *pPass,char *pOther = NULL,char *pOutError = NULL);
virtual KN_Error UserIsFee(char* pPhone , char *pAccMonth,char *pOutError);
virtual KN_Error UserPrint(char* pPhone ,char* nTelType, char *pBeginDate, char* pEndDate,
double *pCountFee,int *pCountLine,char *pOutError);
CTuxedo *m_pTuxedo;
UInt16 m_unSTQSeq,m_bIsAllList/*是否為所有話單*/;
char Transid[17];
char mBegin_time[15];
char mEnd_time[15];
};
#endif //_SHPPSESSION_H_LINYOUHAI
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -