aboutsummaryrefslogtreecommitdiff
path: root/mp/src/public/matsys_controls/matsyscontrols.h
diff options
context:
space:
mode:
authorJoe Ludwig <[email protected]>2013-06-26 15:22:04 -0700
committerJoe Ludwig <[email protected]>2013-06-26 15:22:04 -0700
commit39ed87570bdb2f86969d4be821c94b722dc71179 (patch)
treeabc53757f75f40c80278e87650ea92808274aa59 /mp/src/public/matsys_controls/matsyscontrols.h
downloadsource-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.tar.xz
source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.zip
First version of the SOurce SDK 2013
Diffstat (limited to 'mp/src/public/matsys_controls/matsyscontrols.h')
-rw-r--r--mp/src/public/matsys_controls/matsyscontrols.h72
1 files changed, 72 insertions, 0 deletions
diff --git a/mp/src/public/matsys_controls/matsyscontrols.h b/mp/src/public/matsys_controls/matsyscontrols.h
new file mode 100644
index 00000000..04663832
--- /dev/null
+++ b/mp/src/public/matsys_controls/matsyscontrols.h
@@ -0,0 +1,72 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef MATSYSCONTROLS_H
+#define MATSYSCONTROLS_H
+
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "tier1/interface.h"
+
+
+//-----------------------------------------------------------------------------
+// Forward declarations
+//-----------------------------------------------------------------------------
+class IMaterialSystem;
+class IMaterialSystemHardwareConfig;
+class IMDLCache;
+class IMatSystemSurface;
+class IStudioRender;
+
+namespace vgui
+{
+
+//-----------------------------------------------------------------------------
+// handles the initialization of the vgui interfaces.
+// NOTE: Calls into VGui_InitInterfacesList
+// 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_InitMatSysInterfacesList( 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 <materialsystem/imaterialsystem.h>
+IMaterialSystem *MaterialSystem();
+
+// #include <datacache/imdlcache.h>
+IMDLCache *MDLCache();
+
+// #include <VGuiMatSurface/IMatSystemSurface.h>
+IMatSystemSurface *MatSystemSurface();
+
+// #include <istudiorender.h"
+IStudioRender *StudioRender();
+
+// #include <materialsystem/imaterialsystemhardwareconfig.h>
+IMaterialSystemHardwareConfig *MaterialSystemHardwareConfig();
+
+} // end namespace vgui
+
+
+//-----------------------------------------------------------------------------
+// predeclare all the matsys control class names
+//-----------------------------------------------------------------------------
+class CMDLPanel;
+class CMDLSequencePicker;
+class CMDLPicker;
+class CSequencePicker;
+class CGameFileTreeView;
+
+
+#endif // MATSYSCONTROLS_H