summaryrefslogtreecommitdiff
path: root/engine/ienginetoolinternal.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 /engine/ienginetoolinternal.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'engine/ienginetoolinternal.h')
-rw-r--r--engine/ienginetoolinternal.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/engine/ienginetoolinternal.h b/engine/ienginetoolinternal.h
new file mode 100644
index 0000000..9419d2a
--- /dev/null
+++ b/engine/ienginetoolinternal.h
@@ -0,0 +1,26 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose: Methods of IEngineTool visible only inside the engine
+//
+//=============================================================================
+
+#ifndef IENGINETOOLINTERNAL_H
+#define IENGINETOOLINTERNAL_H
+
+#include "toolframework/ienginetool.h"
+
+
+//-----------------------------------------------------------------------------
+// Purpose: Singleton implementation of external tools callback interface
+//-----------------------------------------------------------------------------
+class IEngineToolInternal : public IEngineTool
+{
+public:
+ virtual void SetIsInGame( bool bIsInGame ) = 0;
+};
+
+extern IEngineToolInternal *g_pEngineToolInternal;
+
+
+#endif // IENGINETOOLINTERNAL_H
+