2025-04-27 07:49:33 -04:00

43 lines
718 B
C++

//=================================================================
//
// ThreadBase.h - Definition of Referenced Pointer class
//
// Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved
//
// Revisions: 10/15/97 Created
//
//=================================================================
#if _MSC_VER > 1000
#pragma once
#endif
#ifndef __REFPTRLITE_H__
#define __REFPTRLITE_H__
class CRefPtrLite
{
public:
// Construction/Destruction
CRefPtrLite();
virtual ~CRefPtrLite();
// Ref/Counting functions
LONG AddRef( void );
LONG Release( void );
protected:
virtual void OnFinalRelease( void );
private:
LONG m_lRefCount;
};
#endif