source-engine-2018-hl2_src/public/ihandleentity.h
FluorescentCIAAfricanAmerican 3bf9df6b27 1
2020-04-22 12:56:21 -04:00

28 lines
570 B
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#ifndef IHANDLEENTITY_H
#define IHANDLEENTITY_H
#ifdef _WIN32
#pragma once
#endif
class CBaseHandle;
// An IHandleEntity-derived class can go into an entity list and use ehandles.
class IHandleEntity
{
public:
virtual ~IHandleEntity() {}
virtual void SetRefEHandle( const CBaseHandle &handle ) = 0;
virtual const CBaseHandle& GetRefEHandle() const = 0;
};
#endif // IHANDLEENTITY_H