?? ccamsdoc.h
字號:
// CCAMSDoc.h : interface of the CCCAMSDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_CCAMSDOC_H__9594F2E8_6452_42FA_BC1E_02AAAD650548__INCLUDED_)
#define AFX_CCAMSDOC_H__9594F2E8_6452_42FA_BC1E_02AAAD650548__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CCCAMSDoc : public CDocument
{
protected: // create from serialization only
CCCAMSDoc();
DECLARE_DYNCREATE(CCCAMSDoc)
// Attributes
public:
// SOCKET m_sock;
int m_nDiaRefTime; // History Diagram refreshtime, in seconds
int m_nHisTime; // 最長歷史記錄, in minutes
// 顯示的種類
// 0-5, CPU, File, Mail, Net, Process, All
int m_nCategory;
// 當前顯示的視圖: 0--History List, 1--History Diagram
int m_nCurView;
// 當前被選中的主機 IP, 為空時表示選中所有主機
CString m_strCurClient; // 當前 history list 主機
CString m_strCurDiagramClient; // 當前 history diagram 主機
bool m_bClientEmpty; // 當前主機列表為空
// bool m_bActivClientEmpty; // 當前活動主機列表為空
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCCAMSDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CCCAMSDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
void DeleteClient();
void DeleteCPU();
void DeleteFile();
void DeleteMail();
void DeleteNet();
void DeleteProc();
// Generated message map functions
protected:
//{{AFX_MSG(CCCAMSDoc)
afx_msg void OnSelectCategory();
afx_msg void OnDeleteRecord();
afx_msg void OnUpdateDeleteRecord(CCmdUI* pCmdUI);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CCAMSDOC_H__9594F2E8_6452_42FA_BC1E_02AAAD650548__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -