aboutsummaryrefslogtreecommitdiff
path: root/mp/src/public/maya/IMayaVGui.h
diff options
context:
space:
mode:
authorJørgen P. Tjernø <[email protected]>2013-12-02 19:31:46 -0800
committerJørgen P. Tjernø <[email protected]>2013-12-02 19:46:31 -0800
commitf56bb35301836e56582a575a75864392a0177875 (patch)
treede61ddd39de3e7df52759711950b4c288592f0dc /mp/src/public/maya/IMayaVGui.h
parentMark some more files as text. (diff)
downloadsource-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz
source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/public/maya/IMayaVGui.h')
-rw-r--r--mp/src/public/maya/IMayaVGui.h134
1 files changed, 67 insertions, 67 deletions
diff --git a/mp/src/public/maya/IMayaVGui.h b/mp/src/public/maya/IMayaVGui.h
index 7c0d77f6..eda8f255 100644
--- a/mp/src/public/maya/IMayaVGui.h
+++ b/mp/src/public/maya/IMayaVGui.h
@@ -1,67 +1,67 @@
-//===== Copyright � 1996-2005, Valve Corporation, All rights reserved. ======//
-//
-// Purpose: Interface for dealing with vgui focus issues across all plugins
-//
-// $NoKeywords: $
-//===========================================================================//
-
-#ifndef IMAYAVGUI_H
-#define IMAYAVGUI_H
-
-#ifdef _WIN32
-#pragma once
-#endif
-
-
-#include "tier0/platform.h"
-#include "appframework/iappsystem.h"
-#include "vgui_controls/Frame.h"
-
-
-//-----------------------------------------------------------------------------
-// Forward declarations
-//-----------------------------------------------------------------------------
-namespace vgui
-{
- class EditablePanel;
-}
-
-class CVsVGuiWindowBase;
-
-
-//-----------------------------------------------------------------------------
-// Factory for creating vgui windows
-//-----------------------------------------------------------------------------
-abstract_class IMayaVguiWindowFactory
-{
-public:
- virtual void CreateVguiWindow( const char *pPanelName ) = 0;
- virtual void DestroyVguiWindow( const char *pPanelName ) = 0;
- virtual vgui::Frame *GetVGuiPanel( const char *pPanelName = NULL ) = 0;
- virtual CVsVGuiWindowBase *GetVGuiWindow( const char *pPanelName = NULL ) = 0;
-};
-
-
-//-----------------------------------------------------------------------------
-// Interface for dealing with vgui focus issues across all plugins
-//-----------------------------------------------------------------------------
-#define MAYA_VGUI_INTERFACE_VERSION "VMayaVGui001"
-abstract_class IMayaVGui : public IAppSystem
-{
-public:
- virtual void InstallVguiWindowFactory( const char *pWindowTypeName, IMayaVguiWindowFactory *pFactory ) = 0;
- virtual void RemoveVguiWindowFactory( const char *pWindowTypeName, IMayaVguiWindowFactory *pFactory ) = 0;
- virtual void SetFocus( void *hWnd, int hVGuiContext ) = 0;
- virtual bool HasFocus( void *hWnd ) = 0;
-
- // In this mode, maya's in a strange re-entrant mode waiting for a modal dialog
- // We still get WM_PAINT messages, but we're in the middle of a callstack
- // deep in the bowels of VGUI
- virtual void SetModalMode( bool bEnable ) = 0;
- virtual bool IsInModalMode( ) const = 0;
-};
-
-extern IMayaVGui* g_pMayaVGui;
-
-
-#endif // IMAYAVGUI_H
+//===== Copyright � 1996-2005, Valve Corporation, All rights reserved. ======//
+//
+// Purpose: Interface for dealing with vgui focus issues across all plugins
+//
+// $NoKeywords: $
+//===========================================================================//
+
+#ifndef IMAYAVGUI_H
+#define IMAYAVGUI_H
+
+#ifdef _WIN32
+#pragma once
+#endif
+
+
+#include "tier0/platform.h"
+#include "appframework/iappsystem.h"
+#include "vgui_controls/Frame.h"
+
+
+//-----------------------------------------------------------------------------
+// Forward declarations
+//-----------------------------------------------------------------------------
+namespace vgui
+{
+ class EditablePanel;
+}
+
+class CVsVGuiWindowBase;
+
+
+//-----------------------------------------------------------------------------
+// Factory for creating vgui windows
+//-----------------------------------------------------------------------------
+abstract_class IMayaVguiWindowFactory
+{
+public:
+ virtual void CreateVguiWindow( const char *pPanelName ) = 0;
+ virtual void DestroyVguiWindow( const char *pPanelName ) = 0;
+ virtual vgui::Frame *GetVGuiPanel( const char *pPanelName = NULL ) = 0;
+ virtual CVsVGuiWindowBase *GetVGuiWindow( const char *pPanelName = NULL ) = 0;
+};
+
+
+//-----------------------------------------------------------------------------
+// Interface for dealing with vgui focus issues across all plugins
+//-----------------------------------------------------------------------------
+#define MAYA_VGUI_INTERFACE_VERSION "VMayaVGui001"
+abstract_class IMayaVGui : public IAppSystem
+{
+public:
+ virtual void InstallVguiWindowFactory( const char *pWindowTypeName, IMayaVguiWindowFactory *pFactory ) = 0;
+ virtual void RemoveVguiWindowFactory( const char *pWindowTypeName, IMayaVguiWindowFactory *pFactory ) = 0;
+ virtual void SetFocus( void *hWnd, int hVGuiContext ) = 0;
+ virtual bool HasFocus( void *hWnd ) = 0;
+
+ // In this mode, maya's in a strange re-entrant mode waiting for a modal dialog
+ // We still get WM_PAINT messages, but we're in the middle of a callstack
+ // deep in the bowels of VGUI
+ virtual void SetModalMode( bool bEnable ) = 0;
+ virtual bool IsInModalMode( ) const = 0;
+};
+
+extern IMayaVGui* g_pMayaVGui;
+
+
+#endif // IMAYAVGUI_H