diff options
| author | Joe Ludwig <[email protected]> | 2013-06-26 15:22:04 -0700 |
|---|---|---|
| committer | Joe Ludwig <[email protected]> | 2013-06-26 15:22:04 -0700 |
| commit | 39ed87570bdb2f86969d4be821c94b722dc71179 (patch) | |
| tree | abc53757f75f40c80278e87650ea92808274aa59 /mp/src/common/replay/ireplayerrorsystem.h | |
| download | source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.tar.xz source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.zip | |
First version of the SOurce SDK 2013
Diffstat (limited to 'mp/src/common/replay/ireplayerrorsystem.h')
| -rw-r--r-- | mp/src/common/replay/ireplayerrorsystem.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/mp/src/common/replay/ireplayerrorsystem.h b/mp/src/common/replay/ireplayerrorsystem.h new file mode 100644 index 00000000..4f0c5d02 --- /dev/null +++ b/mp/src/common/replay/ireplayerrorsystem.h @@ -0,0 +1,33 @@ +//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+//=======================================================================================//
+
+#ifndef IREPLAYERRORSYSYTEM_H
+#define IREPLAYERRORSYSYTEM_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+//----------------------------------------------------------------------------------------
+
+#include "interface.h"
+
+//----------------------------------------------------------------------------------------
+
+class KeyValues;
+
+//----------------------------------------------------------------------------------------
+
+//
+// Replay error system
+//
+class IReplayErrorSystem : public IBaseInterface
+{
+public:
+ virtual void AddErrorFromTokenName( const char *pToken ) = 0;
+ virtual void AddFormattedErrorFromTokenName( const char *pFormatToken, KeyValues *pFormatArgs ) = 0;
+};
+
+//----------------------------------------------------------------------------------------
+
+#endif // IREPLAYERRORSYSYTEM_H
\ No newline at end of file |