ref.h

来自「基于Tapi 3.0的软电话源代码」· C头文件 代码 · 共 34 行

H
34
字号
//-----------------------------------------------------------------------
//  Copyright (c) 2002 Avaya Global SME Solutions 
//-----------------------------------------------------------------------
//  Project name: TAPI 3 Test Harness
//  Module file : ref.h
//  Compiler    : Visual C++ 6.0
//-----------------------------------------------------------------------
//  Description :
//  Header file for the CRef class. Base class to provide refernce counting 
//  service to other services
//-----------------------------------------------------------------------

#if !defined(_REF_H)
#define _REF_H

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CRef  
{
public:
	CRef();
	virtual ~CRef();

	int AddRef();
	int Release();

private:
	int m_Ref;
};

#endif 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?