mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-23 06:36:54 +00:00
28 lines
570 B
C
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
|