📄 tapi3app.h
字号:
//-----------------------------------------------------------------------
// Copyright (c) 2002 Avaya Global SME Solutions
//-----------------------------------------------------------------------
// Project name: TAPI 3 Test Harness
// Module file : tapi3.h
// Compiler : Visual C++ 6.0
//-----------------------------------------------------------------------
// Description :
// main header file for the TAPI3 application
//-----------------------------------------------------------------------
#if !defined(_TAPI3_H)
#define _TAPI3_H
#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
/////////////////////////////////////////////////////////////////////////////
// CTapi3App:
// See Tapi3.cpp for the implementation of this class
//
#define PRINT ((CTapi3App*)AfxGetApp())->PrintMsg
#define PRINT_INIT ((CTapi3App*)AfxGetApp())->PrintMsgInit
#define SET_ITEM_DATA_PTR ((CTapi3App*)AfxGetApp())->SetItemDataPtr
class CTapi3App : public CWinApp
{
public:
CTapi3App();
int PrintMsg(int index, int level, char *str, ...);
int PrintMsgInit(int index, int level, char *str, ...);
void SetItemDataPtr(int Index, void* p);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTapi3App)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CTapi3App)
// 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 Visual C++ will insert additional declarations immediately before the previous line.
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -