diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/client/iloadingdisc.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/client/iloadingdisc.h')
| -rw-r--r-- | game/client/iloadingdisc.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/game/client/iloadingdisc.h b/game/client/iloadingdisc.h new file mode 100644 index 0000000..556d884 --- /dev/null +++ b/game/client/iloadingdisc.h @@ -0,0 +1,38 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $Workfile: $ +// $Date: $ +// $NoKeywords: $ +//=============================================================================// + +#ifndef ILOADINGDISC_H +#define ILOADINGDISC_H +#ifdef _WIN32 +#pragma once +#endif + +#include <vgui/VGUI.h> + +namespace vgui +{ + class Panel; +} + +abstract_class ILoadingDisc +{ +public: + virtual void Create( vgui::VPANEL parent ) = 0; + virtual void Destroy( void ) = 0; + + // loading disc + virtual void SetLoadingVisible( bool bVisible ) = 0; + + // paused disc + virtual void SetPausedVisible( bool bVisible, float flExpireTime = -1.f ) = 0; +}; + +extern ILoadingDisc *loadingdisc; + +#endif // ILOADINGDISC_H
\ No newline at end of file |