⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ccamsdoc.h

📁 一个网络监视的程序
💻 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 + -