📄 tapisample.h
字号:
// ----------------------------------------------------------------------------
// IP Office SDK (c) Avaya 2001. All rights reserved.
//
// PROJECT: TapiSample
// FILE: tapisample.h
// CREATED: Geoff Froud, based on previous work by Carl Muller
//
// This project is an example Visual C++ program that uses the TAPI interface
// to demonstrate the features supported by the IP Office Telephony Service
// Provider.
//
// The application consists of a single dialog containing buttons for all the
// TAPI functions that are supported by IP Office. The dialog contains a
// window that shows the TAPI events. Although the program opens all TAPI
// lines on startup, the program can only act upon one line at a time.
// On startup, the first line is selected as the active one.
// The user may select a different line by entering th extension number in
// the edit box labelled Controllling Extension and pressing Select.
//
// The framework of the application was generated using AppWizard and is
// therefore based on the Microsoft Foundation Classes. The application
// consists of the following classes:
//
// Class Name File Description
// ========== ==== ===========
// CTapisampleApp this file Main application class
// CTapisampleDlg tapisampleDlg Dialog class
// TapiApplication tapiline Contains TAPI related application data/f()s
// TapiLine tapiline Encapulates a TAPI line
//
// The tapidescribe files contain useful TAPI related functions for converting
// TAPI codes into meaingful text.
//
// This is the main header file for the application.
// See tapisample.cpp for the implementation of this class.
//
// ----------------------------------------------------------------------------
#if !defined(AFX_TAPISAMPLE_H__B3B1C627_F895_11D2_ABB0_00A0C9921B53__INCLUDED_)
#define AFX_TAPISAMPLE_H__B3B1C627_F895_11D2_ABB0_00A0C9921B53__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
// ----------------------------------------------------------------------------
// CTapisampleApp - the main class that implements the sample TAPI application
class CTapisampleApp : public CWinApp
{
public:
CTapisampleApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTapisampleApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CTapisampleApp)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately
// before the previous line.
#endif // !defined(AFX_TAPISAMPLE_H__B3B1C627_F895_11D2_ABB0_00A0C9921B53__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -