summaryrefslogtreecommitdiff
path: root/common/replay/ireplayerrorsystem.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /common/replay/ireplayerrorsystem.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'common/replay/ireplayerrorsystem.h')
-rw-r--r--common/replay/ireplayerrorsystem.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/common/replay/ireplayerrorsystem.h b/common/replay/ireplayerrorsystem.h
new file mode 100644
index 0000000..cc39b7e
--- /dev/null
+++ b/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