summaryrefslogtreecommitdiff
path: root/engine/ienginetoolinternal.h
diff options
context:
space:
mode:
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
+