summaryrefslogtreecommitdiff
path: root/game/client/ivmodemanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/client/ivmodemanager.h')
-rw-r--r--game/client/ivmodemanager.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/game/client/ivmodemanager.h b/game/client/ivmodemanager.h
new file mode 100644
index 0000000..69d2799
--- /dev/null
+++ b/game/client/ivmodemanager.h
@@ -0,0 +1,31 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $Workfile: $
+// $Date: $
+//
+//-----------------------------------------------------------------------------
+// $Log: $
+//
+// $NoKeywords: $
+//=============================================================================//
+#if !defined( IVMODEMANAGER_H )
+#define IVMODEMANAGER_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+abstract_class IVModeManager
+{
+public:
+ virtual void Init( void ) = 0;
+ // HL2 will ignore, TF2 will change modes.
+ virtual void SwitchMode( bool commander, bool force ) = 0;
+ virtual void LevelInit( const char *newmap ) = 0;
+ virtual void LevelShutdown( void ) = 0;
+};
+
+extern IVModeManager *modemanager;
+
+#endif // IVMODEMANAGER_H \ No newline at end of file