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

📄 notifysend.h

📁 HP公司的SNMP++的Win32版本源码
💻 H
字号:
/*============================================================================
  Copyright (c) 1996
  Hewlett-Packard Company

  ATTENTION: USE OF THIS SOFTWARE IS SUBJECT TO THE FOLLOWING TERMS.
  Permission to use, copy, modify, distribute and/or sell this software 
  and/or its documentation is hereby granted without fee. User agrees 
  to display the above copyright notice and this license notice in all 
  copies of the software and any documentation of the software. User 
  agrees to assume all liability for the use of the software; Hewlett-Packard 
  makes no representations about the suitability of this software for any 
  purpose. It is provided "AS-IS without warranty of any kind,either express 
  or implied. User hereby grants a royalty-free license to any and all 
  derivatives based upon this software code base. 

=============================================================================*/

// NotifySend.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// NotifySend dialog
#include "snmp_pp.h"
#include "tarinc.h"

#define MAX_TRAP_VBS 25


class NotifySend : public CDialog
{
// Construction
public:
	NotifySend(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(NotifySend)
	enum { IDD = IDD_NOTIFY_SEND };
	CString	m_read_community;
	CString	m_write_community;
	CString	m_retries;
	CString	m_timeouts;
	CString	m_mgmt_proto;
	CString	m_net_proto;
	CString	m_oid;
	CString	m_customid;
	CString	m_enterprise;
	CString	m_output;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(NotifySend)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	Snmp *snmp;
	virtual void PostNcDestroy() 
	{  
	   if ( snmp != NULL) delete snmp;
       delete this;   
	};
	void load_target_attribs( TargetDb_Rec db_rec);
	Vb trap_vbs[ MAX_TRAP_VBS];


	// Generated message map functions
	//{{AFX_MSG(NotifySend)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeTargets();
	afx_msg void OnAddoid();
	afx_msg void OnEditpay();
	afx_msg void OnDelpay();
	afx_msg void OnDblclkPdu();
	virtual void OnOK();
	afx_msg void OnTimer(UINT nIDEvent);
	virtual void OnCancel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -