CMD.h
上传用户:xiaoke98
上传日期:2014-06-29
资源大小:5718k
文件大小:1k
- // CMD.h: interface for the CCMD class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_CMD_H__0E7266C3_7EDD_4A1D_9A16_F7E00DB37E97__INCLUDED_)
- #define AFX_CMD_H__0E7266C3_7EDD_4A1D_9A16_F7E00DB37E97__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include <afx.h>
- enum CMDTYPE{CMD_LOGIN = 0,
- CMD_VERIFY_OK,
- CMD_FINANCE_IN,
- CMD_FINANCE_OUT,
- CMD_BALANCE,
- CMD_EVECATION};
- class CCMD : public CObject
- {
- public:
- CString getCmdInfo(void);
- CMDTYPE getType(void);
- void setType(CMDTYPE Type);
- CCMD(CString strInfo);
- virtual ~CCMD();
- private:
- CString m_strCmdInfo;
- CMDTYPE m_Type;
- };
- #endif // !defined(AFX_CMD_H__0E7266C3_7EDD_4A1D_9A16_F7E00DB37E97__INCLUDED_)