SysStatus.h
上传用户:xiaoke98
上传日期:2014-06-29
资源大小:5718k
文件大小:1k
- // SysStatus.h: interface for the CSysStatus class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_SYSSTATUS_H__F23BAB6F_D9A9_47BA_8563_7CA857AC57A2__INCLUDED_)
- #define AFX_SYSSTATUS_H__F23BAB6F_D9A9_47BA_8563_7CA857AC57A2__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CSysStatus
- {
- public:
- void setLoginStatus(BOOL bLogin);
- BOOL getLoginStatus(void);
- void setUserName(CString strName);
- CString getUserName(void);
- public:
- CSysStatus();
- virtual ~CSysStatus();
- private:
- CString m_strUserName;
- BOOL m_bHasLogin;
- };
- extern CSysStatus gSysStatus;
- #endif // !defined(AFX_SYSSTATUS_H__F23BAB6F_D9A9_47BA_8563_7CA857AC57A2__INCLUDED_)