?? tapiaddr.h
字號(hào):
//-----------------------------------------------------------------------
// Copyright (c) 2002 Avaya Global SME Solutions
//-----------------------------------------------------------------------
// Project name: TAPI 3 Test Harness
// Module file : TAPIAddr.h
// Compiler : Visual C++ 6.0
//-----------------------------------------------------------------------
// Description :
// interface for the CTAPIAddr class.
//-----------------------------------------------------------------------
#if !defined(_TAPIADDR_H_)
#define _TAPIADDR_H_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Ref.h"
// Forward decleration for template function
UINT __stdcall HashKey<CString&>(CString& key);
class CTAPIAddr : public CRef
{
public:
CTAPIAddr(ITTAPI* pTAPI,
BSTR& DisplayAddr,
BSTR& DialableAddr,
long& SupportedMedia,
long& UnRegister,
ITAddress* pAddr);
virtual ~CTAPIAddr();
ITAddress* GetITAddress();
CString GetDisplayAddr() { return m_sDisplayAddr; };
CString GetDialableAddr() { return m_sDialableAddr; };
long GetSupportedMedia() { return m_lSupportedMedia; };
// Address map management functions
static void AddToAddrMap(CString, CTAPIAddr* pAddr);
static CTAPIAddr* GetFromAddrMap(CString& s);
static int GetAddrCount();
static CTAPIAddr* GetAddrAt(int Index);
static void ReleaseAddrMap();
private:
ITTAPI* m_pTAPI;
ITAddress* m_pTAPIAddr;
CString m_sDisplayAddr;
CString m_sDialableAddr;
long m_lSupportedMedia;
long m_lUnRegister;
static CMap<CString, CString&, CTAPIAddr*, CTAPIAddr*> m_TAPIAddrMap;
};
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -