?? tapi3dlg.h
字號:
//-----------------------------------------------------------------------
// Copyright (c) 2002 Avaya Global SME Solutions
//-----------------------------------------------------------------------
// Project name: TAPI 3 Test Harness
// Module file : Tapi3Dlg.h
// Compiler : Visual C++ 6.0
//-----------------------------------------------------------------------
// Description :
// Declaration of tapi 3 dialog class
//-----------------------------------------------------------------------
#if !defined(_TAPI_3_H)
#define _TAPI_3_H
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CTapi3Dlg dialog
#include "tapiconn.h"
#include "TelephonyEngine.h"
class CTapi3Dlg : public CDialog
{
// Construction
public:
CTapi3Dlg(CWnd* pParent = NULL); // standard constructor
int PrintMsg(int index, int level, char *);
int PrintMsgInit(int index, int level, char *);
void SetItemDataPtr(int Index, void* p);
// Dialog Data
enum { IDD = IDD_TAPI3_DIALOG };
CComboBox m_ExtnCall;
CComboBox m_ExtnList;
CListBox m_MsgBox;
CListBox m_MsgBoxInit;
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// Implementation
protected:
HICON m_hIcon;
void PopulateExtnCombo();
void ClearExtCombo();
void HandleCallStateEvent(ITCallStateEvent* pCallStateEvent);
void HandleCallNotificationEvent(ITCallNotificationEvent* pCallNotificationEvent);
void ReleaseTheCall(ITBasicCallControl* pCall);
void SaveAddressOfCalled(ITCallStateEvent* pCallStateEvent);
DISCONNECTION_TYPE GetDisconnectionType(ITCallStateEvent* pCallStateEvent);
void GetCallersBasicCall(ITCallStateEvent* pCallStateEvent);
// Generated message map functions
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnCancel();
virtual void OnOK();
afx_msg void OnExit();
afx_msg void OnInitTapi();
afx_msg void OnAbout();
afx_msg void OnClear();
afx_msg void OnClearInit();
afx_msg void OnDeinitTapi();
afx_msg void OnDblclkMsgbox();
afx_msg void OnSelchangeExtnCall();
afx_msg void OnMakeCall();
afx_msg void OnAnswerCall();
afx_msg void OnHold();
afx_msg void OnUnHold();
afx_msg void OnDropCall();
afx_msg void OnParkCall();
afx_msg void OnUnparkCall();
afx_msg void OnCallConference();
afx_msg void OnCallTransfer();
afx_msg void OnBlindTransfer();
afx_msg void OnSwapHold();
afx_msg void OnExpand();
afx_msg void OnCollapse();
afx_msg void OnTransferFinish();
afx_msg void OnAddToConference();
afx_msg void OnRemoveFromConference();
afx_msg void OnTAPIEvent(WPARAM, LPARAM);
DECLARE_MESSAGE_MAP()
//Attributes
CTelephonyEngine* m_pTEngine;
bool m_bTAPIInit;
CTAPIConn m_TAPI3;
ITBasicCallControl* m_pCall;
ITBasicCallControl* m_pCallersBasicCall;
ITBasicCallControl* m_pCallOnHold;
ITBasicCallControl* m_pCalledOnHold;
ITBasicCallControl* m_pTransferConsultCall;
ITCallInfo* m_pCallInfo;
// bool m_isOnHold;
CString m_lastCalled;
CString m_lastOnHold;
CString m_pLastParked;
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -