mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-23 06:36:54 +00:00
27 lines
631 B
C
27 lines
631 B
C
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
//=============================================================================
|
||
|
|
||
|
#ifndef PROGRESSDIALOG_H
|
||
|
#define PROGRESSDIALOG_H
|
||
|
#ifdef _WIN32
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
class IProgressDialog
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
virtual void Start( char const *pchTitle, char const *pchText, bool bShowCancel ) = 0;
|
||
|
virtual void Update( float flZeroToOneFraction ) = 0;
|
||
|
virtual void UpdateText( char const *pchFmt, ... ) = 0;
|
||
|
virtual bool IsCancelled() = 0;
|
||
|
virtual void Finish() = 0;
|
||
|
};
|
||
|
|
||
|
extern IProgressDialog *g_pProgressDialog;
|
||
|
|
||
|
#endif // PROGRESSDIALOG_H
|