aboutsummaryrefslogtreecommitdiff
path: root/mp/src/public/tier2/keybindings.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/tier2/keybindings.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/tier2/keybindings.h')
-rw-r--r--mp/src/public/tier2/keybindings.h84
1 files changed, 42 insertions, 42 deletions
diff --git a/mp/src/public/tier2/keybindings.h b/mp/src/public/tier2/keybindings.h
index 4b2185cf..050219e6 100644
--- a/mp/src/public/tier2/keybindings.h
+++ b/mp/src/public/tier2/keybindings.h
@@ -1,42 +1,42 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//
-//===========================================================================//
-
-#ifndef KEYBINDINGS_H
-#define KEYBINDINGS_H
-
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include "tier1/utlstring.h"
-#include "inputsystem/ButtonCode.h"
-
-class CUtlBuffer;
-
-
-class CKeyBindings
-{
-public:
- void SetBinding( ButtonCode_t code, const char *pBinding );
- void SetBinding( const char *pButtonName, const char *pBinding );
-
- void Unbind( ButtonCode_t code );
- void Unbind( const char *pButtonName );
- void UnbindAll();
-
- int GetBindingCount() const;
- void WriteBindings( CUtlBuffer &buf );
- const char *ButtonNameForBinding( const char *pBinding );
- const char *GetBindingForButton( ButtonCode_t code );
-
-private:
- CUtlString m_KeyInfo[ BUTTON_CODE_LAST ];
-};
-
-
-#endif // KEYBINDINGS_H
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//
+//===========================================================================//
+
+#ifndef KEYBINDINGS_H
+#define KEYBINDINGS_H
+
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "tier1/utlstring.h"
+#include "inputsystem/ButtonCode.h"
+
+class CUtlBuffer;
+
+
+class CKeyBindings
+{
+public:
+ void SetBinding( ButtonCode_t code, const char *pBinding );
+ void SetBinding( const char *pButtonName, const char *pBinding );
+
+ void Unbind( ButtonCode_t code );
+ void Unbind( const char *pButtonName );
+ void UnbindAll();
+
+ int GetBindingCount() const;
+ void WriteBindings( CUtlBuffer &buf );
+ const char *ButtonNameForBinding( const char *pBinding );
+ const char *GetBindingForButton( ButtonCode_t code );
+
+private:
+ CUtlString m_KeyInfo[ BUTTON_CODE_LAST ];
+};
+
+
+#endif // KEYBINDINGS_H