www.pudn.com > TAPI会议系统.rar > tapisampleDlg.h


// ---------------------------------------------------------------------------- 
// IP Office SDK (c) Avaya 2001. All rights reserved. 
// 
// PROJECT:  TapiSample 
// FILE:     tapisampleDlg.h 
// CREATED:  Geoff Froud, based on previous work by Carl Muller 
// 
// This header defines the CTapisampleDlg class. This class encapsulates the 
// functionality of the program's Dialog. 
// 
// See tapisample.h for an explanation of this program. 
// 
// This is the definition file for the dialog class. 
// See tapisampleDlg.cpp for the implementation of this class 
// 
// ---------------------------------------------------------------------------- 
 
#if !defined(AFX_TAPISAMPLEDLG_H__B3B1C629_F895_11D2_ABB0_00A0C9921B53__INCLUDED_) 
#define AFX_TAPISAMPLEDLG_H__B3B1C629_F895_11D2_ABB0_00A0C9921B53__INCLUDED_ 
 
#if _MSC_VER >= 1000 
#pragma once 
#endif // _MSC_VER >= 1000 
 
#include  
#include "tapiline.h" 
 
// ---------------------------------------------------------------------------- 
// CTapisampleDlg dialog - the main class that implements the dialog box 
 
class CTapisampleDlg : public CDialog 
{ 
// Construction 
public: 
	CTapisampleDlg(CWnd* pParent = NULL);	// standard constructor 
	~CTapisampleDlg();	// standard destructor 
	void AddText(LPCTSTR pszNewText); 
	void SetExtension(LPCTSTR pszNewExtension); 
	void CheckButtons(); // Work out which buttons can be enabled 
 
// Dialog Data 
	//{{AFX_DATA(CTapisampleDlg) 
	enum { IDD = IDD_TAPISAMPLE_DIALOG }; 
	CButton	m_CtlConferenceCall; 
	CButton	m_CtlAnswerCall; 
	CButton	m_CtlDropCall; 
	CButton	m_CtlHoldCall; 
	CButton	m_CtlMakeCall; 
	CButton	m_CtlUnholdCall; 
	CButton	m_CtlBlindTransferCall; 
	CButton m_CtlSetupTransfer; 
	CButton m_CtlDial; 
	CButton m_CtlCompleteTransfer; 
	CButton m_CtlSwapHold; 
	CButton m_CtlPark; 
	CButton m_CtlUnpark; 
	CButton m_CtlRedirect; 
	CButton m_CtlAddToConference; 
	CButton m_CtlRemoveFromConference; 
	CButton m_CtlGetCallInfo; 
	CButton m_CtlForwardAll; 
	CButton m_CtlForwardBusy; 
	CButton m_CtlForwardNoAnswer; 
	CButton m_CtlDoNotDisturb; 
	CString	m_TextBox; 
	CString	m_Address; 
	CString	m_Extension; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CTapisampleDlg) 
	public: 
	virtual BOOL PreTranslateMessage(MSG* pMsg); 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
	TapiApplication m_Tapi; // Encapsulates the application's TAPI functionality 
 
	// Generated message map functions 
	//{{AFX_MSG(CTapisampleDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void OnDestroy(); 
	afx_msg void OnCleartext(); 
	afx_msg void OnDropcall(); 
	afx_msg void OnMakecall(); 
	afx_msg void OnHoldcall(); 
	afx_msg void OnUnholdcall(); 
	afx_msg void OnConferencecall(); 
	afx_msg void OnBlindTransfer(); 
	afx_msg void OnAnswercall(); 
	afx_msg void OnGetcallstatus(); 
	afx_msg void OnSetupTransfer(); 
	afx_msg void OnDial(); 
	afx_msg void OnCompleteTransfer(); 
	afx_msg void OnSwapHold(); 
	afx_msg void OnPark(); 
	afx_msg void OnUnpark(); 
	afx_msg void OnRedirect(); 
	afx_msg void OnAddToConference(); 
	afx_msg void OnRemoveFromConference(); 
	afx_msg void OnAddressStatus(); 
	afx_msg void OnGetCallInfo(); 
	afx_msg void OnSelect(); 
	afx_msg void OnLogOn(); 
	afx_msg void OnLogOff(); 
	afx_msg void OnConfigDialog(); 
	afx_msg void OnDivertDestination(); 
	afx_msg void OnSetDivertSettings(); 
	afx_msg void OnGetDivertSettings(); 
	afx_msg void OnSetAppSpecific(); 
	afx_msg void OnHide(); 
	afx_msg void OnMsgWaitLamp(); 
	afx_msg void OnInGroup(); 
	afx_msg void OnOutGroup(); 
	afx_msg void OnSetCallData(); 
	afx_msg LRESULT OnTrayMessage(WPARAM, LPARAM); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
 
private: 
	void AddSystemTrayIcon(); 
	void DeleteSystemTrayIcon(); 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Developer Studio will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_TAPISAMPLEDLG_H__B3B1C629_F895_11D2_ABB0_00A0C9921B53__INCLUDED_)