summaryrefslogtreecommitdiff
path: root/public/dme_controls/dmecontrols.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 /public/dme_controls/dmecontrols.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'public/dme_controls/dmecontrols.h')
-rw-r--r--public/dme_controls/dmecontrols.h72
1 files changed, 72 insertions, 0 deletions
diff --git a/public/dme_controls/dmecontrols.h b/public/dme_controls/dmecontrols.h
new file mode 100644
index 0000000..25541fd
--- /dev/null
+++ b/public/dme_controls/dmecontrols.h
@@ -0,0 +1,72 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//===========================================================================//
+
+#ifndef DMECONTROLS_H
+#define DMECONTROLS_H
+
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "tier1/interface.h"
+
+
+//-----------------------------------------------------------------------------
+// Forward declarations
+//-----------------------------------------------------------------------------
+class ISoundEmitterSystemBase;
+class IEngineTool;
+class IPhysicsCollision;
+class IElementPropertiesChoices;
+
+namespace vgui
+{
+
+//-----------------------------------------------------------------------------
+// handles the initialization of the vgui interfaces.
+// NOTE: Calls into VGui_InitMatSysInterfacesList
+// interfaces (listed below) are first attempted to be loaded from primaryProvider, then secondaryProvider
+// moduleName should be the name of the module that this instance of the vgui_controls has been compiled into
+//-----------------------------------------------------------------------------
+bool VGui_InitDmeInterfacesList( const char *moduleName, CreateInterfaceFn *factoryList, int numFactories );
+
+
+//-----------------------------------------------------------------------------
+// set of accessor functions to matsys interfaces
+// the appropriate header file for each is listed above the item
+//-----------------------------------------------------------------------------
+
+// #include "soundemittersystem/isoundemittersystembase.h"
+ISoundEmitterSystemBase *SoundEmitterSystem();
+
+// #include "toolsframework/ienginetool.h"
+IEngineTool *EngineTool();
+
+// #include "vphysics_interface.h"
+IPhysicsCollision *PhysicsCollision();
+
+// #include "dme_controls/INotifyUI.h"
+IElementPropertiesChoices *ElementPropertiesChoices();
+void SetElementPropertiesChoices( IElementPropertiesChoices *pChoices );
+
+} // end namespace vgui
+
+
+//-----------------------------------------------------------------------------
+// predeclare all the matsys control class names
+//-----------------------------------------------------------------------------
+class CDmeMDLPanel;
+class CMDLSequencePicker;
+class CMDLPicker;
+class CSequencePicker;
+class CDmePicker;
+class CSoundPicker;
+class CFilterComboBox;
+class CGameFileTreeView;
+
+
+#endif // DMECONTROLS_H