C++的课程设计

源代码在线查看: cmd.h

软件大小: 3981 K
上传用户: sy780415
关键词:
下载地址: 免注册下载 普通下载 VIP

相关代码

				// 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 
				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_)
							

相关资源