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/common/replay/ireplaycontext.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/common/replay/ireplaycontext.h')
| -rw-r--r-- | mp/src/common/replay/ireplaycontext.h | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/mp/src/common/replay/ireplaycontext.h b/mp/src/common/replay/ireplaycontext.h index 34430ab9..f4fda370 100644 --- a/mp/src/common/replay/ireplaycontext.h +++ b/mp/src/common/replay/ireplaycontext.h @@ -1,47 +1,47 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-//=======================================================================================//
-
-#ifndef IREPLAYCONTEXT_H
-#define IREPLAYCONTEXT_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-//----------------------------------------------------------------------------------------
-
-#include "interface.h"
-#include "replay/replayhandle.h"
-
-//----------------------------------------------------------------------------------------
-
-class IRecordingSessionManager;
-class IRecordingSessionBlockManager;
-class IRecordingSession;
-class IReplayErrorSystem;
-
-//----------------------------------------------------------------------------------------
-
-class IReplayContext : public IBaseInterface
-{
-public:
- virtual bool Init( CreateInterfaceFn fnCreateFactory ) = 0;
- virtual void Shutdown() = 0;
-
- virtual void Think() = 0;
-
- virtual bool IsInitialized() const = 0;
-
- virtual const char *GetRelativeBaseDir() const = 0; // Returns path to wherever the index .dmx lives relative to the game path, e.g. "replay\client\"
- virtual const char *GetBaseDir() const = 0; // Returns full directory to wherever the index .dmx lives, e.g. c:\program files (x86)\steam\steamapps\<username>\team fortress 2\tf\replays\<client|server>\ -- NOTE: includes trailing slash
- virtual const char *GetReplaySubDir() const = 0; // Returns "client" or "server"
-
- virtual IReplayErrorSystem *GetErrorSystem() = 0;
- virtual IRecordingSessionManager *GetRecordingSessionManager() = 0;
- virtual IRecordingSessionBlockManager *GetRecordingSessionBlockManager() = 0;
- virtual IRecordingSession *GetRecordingSession( ReplayHandle_t hSession ) = 0;
-};
-
-//----------------------------------------------------------------------------------------
-
-#endif // IREPLAYCONTEXT_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +//=======================================================================================// + +#ifndef IREPLAYCONTEXT_H +#define IREPLAYCONTEXT_H +#ifdef _WIN32 +#pragma once +#endif + +//---------------------------------------------------------------------------------------- + +#include "interface.h" +#include "replay/replayhandle.h" + +//---------------------------------------------------------------------------------------- + +class IRecordingSessionManager; +class IRecordingSessionBlockManager; +class IRecordingSession; +class IReplayErrorSystem; + +//---------------------------------------------------------------------------------------- + +class IReplayContext : public IBaseInterface +{ +public: + virtual bool Init( CreateInterfaceFn fnCreateFactory ) = 0; + virtual void Shutdown() = 0; + + virtual void Think() = 0; + + virtual bool IsInitialized() const = 0; + + virtual const char *GetRelativeBaseDir() const = 0; // Returns path to wherever the index .dmx lives relative to the game path, e.g. "replay\client\" + virtual const char *GetBaseDir() const = 0; // Returns full directory to wherever the index .dmx lives, e.g. c:\program files (x86)\steam\steamapps\<username>\team fortress 2\tf\replays\<client|server>\ -- NOTE: includes trailing slash + virtual const char *GetReplaySubDir() const = 0; // Returns "client" or "server" + + virtual IReplayErrorSystem *GetErrorSystem() = 0; + virtual IRecordingSessionManager *GetRecordingSessionManager() = 0; + virtual IRecordingSessionBlockManager *GetRecordingSessionBlockManager() = 0; + virtual IRecordingSession *GetRecordingSession( ReplayHandle_t hSession ) = 0; +}; + +//---------------------------------------------------------------------------------------- + +#endif // IREPLAYCONTEXT_H |