diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /mp/src/public/vgui_controls/PerforceFileExplorer.h | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/public/vgui_controls/PerforceFileExplorer.h')
| -rw-r--r-- | mp/src/public/vgui_controls/PerforceFileExplorer.h | 134 |
1 files changed, 67 insertions, 67 deletions
diff --git a/mp/src/public/vgui_controls/PerforceFileExplorer.h b/mp/src/public/vgui_controls/PerforceFileExplorer.h index 4e44d7da..4d3dd876 100644 --- a/mp/src/public/vgui_controls/PerforceFileExplorer.h +++ b/mp/src/public/vgui_controls/PerforceFileExplorer.h @@ -1,67 +1,67 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose: Allows you to browse a directory structure, showing perforce files
-//
-// $NoKeywords: $
-//===========================================================================//
-
-#ifndef PERFORCEFILEEXPLORER_H
-#define PERFORCEFILEEXPLORER_H
-
-#ifdef _WIN32
-#pragma once
-#endif
-
-
-#include "tier1/utlstring.h"
-#include "vgui_controls/Frame.h"
-
-
-namespace vgui
-{
-
-//-----------------------------------------------------------------------------
-// Forward declarations
-//-----------------------------------------------------------------------------
-class PerforceFileList;
-class ComboBox;
-class Button;
-
-
-//-----------------------------------------------------------------------------
-// Contains a list of files, determines their perforce status
-//-----------------------------------------------------------------------------
-class PerforceFileExplorer : public vgui::Frame
-{
- DECLARE_CLASS_SIMPLE( PerforceFileExplorer, Frame );
-
-public:
- // The context keyvalues are added to all messages sent by this dialog if they are specified
- PerforceFileExplorer( Panel *parent, const char *pPanelName );
- ~PerforceFileExplorer();
-
- // Inherited from Frame
- virtual void ApplySchemeSettings( IScheme *pScheme );
- virtual void PerformLayout();
-
-protected:
- MESSAGE_FUNC_PARAMS( OnTextChanged, "TextChanged", kv );
- MESSAGE_FUNC( OnItemDoubleClicked, "ItemDoubleClicked" );
- MESSAGE_FUNC( OnFolderUp, "FolderUp" );
-
- void PopulateFileList();
- void PopulateDriveList();
-
- // Returns the current directory
- void SetCurrentDirectory( const char *pCurrentDirectory );
-
- Button *m_pFolderUpButton;
- ComboBox *m_pFullPathCombo;
- PerforceFileList *m_pFileList;
- CUtlString m_CurrentDirectory;
-};
-
-
-} // namespace vgui
-
-#endif // PERFORCEFILEEXPLORER_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: Allows you to browse a directory structure, showing perforce files +// +// $NoKeywords: $ +//===========================================================================// + +#ifndef PERFORCEFILEEXPLORER_H +#define PERFORCEFILEEXPLORER_H + +#ifdef _WIN32 +#pragma once +#endif + + +#include "tier1/utlstring.h" +#include "vgui_controls/Frame.h" + + +namespace vgui +{ + +//----------------------------------------------------------------------------- +// Forward declarations +//----------------------------------------------------------------------------- +class PerforceFileList; +class ComboBox; +class Button; + + +//----------------------------------------------------------------------------- +// Contains a list of files, determines their perforce status +//----------------------------------------------------------------------------- +class PerforceFileExplorer : public vgui::Frame +{ + DECLARE_CLASS_SIMPLE( PerforceFileExplorer, Frame ); + +public: + // The context keyvalues are added to all messages sent by this dialog if they are specified + PerforceFileExplorer( Panel *parent, const char *pPanelName ); + ~PerforceFileExplorer(); + + // Inherited from Frame + virtual void ApplySchemeSettings( IScheme *pScheme ); + virtual void PerformLayout(); + +protected: + MESSAGE_FUNC_PARAMS( OnTextChanged, "TextChanged", kv ); + MESSAGE_FUNC( OnItemDoubleClicked, "ItemDoubleClicked" ); + MESSAGE_FUNC( OnFolderUp, "FolderUp" ); + + void PopulateFileList(); + void PopulateDriveList(); + + // Returns the current directory + void SetCurrentDirectory( const char *pCurrentDirectory ); + + Button *m_pFolderUpButton; + ComboBox *m_pFullPathCombo; + PerforceFileList *m_pFileList; + CUtlString m_CurrentDirectory; +}; + + +} // namespace vgui + +#endif // PERFORCEFILEEXPLORER_H |