diff options
Diffstat (limited to 'mp/src/common/replay/basereplayserializeable.h')
| -rw-r--r-- | mp/src/common/replay/basereplayserializeable.h | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/mp/src/common/replay/basereplayserializeable.h b/mp/src/common/replay/basereplayserializeable.h index d30da7e2..7414ab5e 100644 --- a/mp/src/common/replay/basereplayserializeable.h +++ b/mp/src/common/replay/basereplayserializeable.h @@ -1,43 +1,43 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-//=======================================================================================//
-
-#ifndef REPLAYSERIALIIZEABLE_H
-#define REPLAYSERIALIIZEABLE_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-//----------------------------------------------------------------------------------------
-
-#include "replay/ireplayserializeable.h"
-#include "replay/replayhandle.h"
-
-//----------------------------------------------------------------------------------------
-
-class CBaseReplaySerializeable : public IReplaySerializeable
-{
-public:
- CBaseReplaySerializeable();
-
- virtual void SetHandle( ReplayHandle_t h );
- virtual ReplayHandle_t GetHandle() const;
- virtual bool Read( KeyValues *pIn );
- virtual void Write( KeyValues *pOut );
- virtual const char *GetFilename() const;
- virtual const char *GetFullFilename() const;
- virtual const char *GetDebugName() const;
- virtual void SetLocked( bool bLocked );
- virtual bool IsLocked() const;
- virtual void OnDelete();
- virtual void OnUnload();
- virtual void OnAddedToDirtyList();
-
-private:
- ReplayHandle_t m_hThis;
- bool m_bLocked;
-};
-
-//----------------------------------------------------------------------------------------
-
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +//=======================================================================================// + +#ifndef REPLAYSERIALIIZEABLE_H +#define REPLAYSERIALIIZEABLE_H +#ifdef _WIN32 +#pragma once +#endif + +//---------------------------------------------------------------------------------------- + +#include "replay/ireplayserializeable.h" +#include "replay/replayhandle.h" + +//---------------------------------------------------------------------------------------- + +class CBaseReplaySerializeable : public IReplaySerializeable +{ +public: + CBaseReplaySerializeable(); + + virtual void SetHandle( ReplayHandle_t h ); + virtual ReplayHandle_t GetHandle() const; + virtual bool Read( KeyValues *pIn ); + virtual void Write( KeyValues *pOut ); + virtual const char *GetFilename() const; + virtual const char *GetFullFilename() const; + virtual const char *GetDebugName() const; + virtual void SetLocked( bool bLocked ); + virtual bool IsLocked() const; + virtual void OnDelete(); + virtual void OnUnload(); + virtual void OnAddedToDirtyList(); + +private: + ReplayHandle_t m_hThis; + bool m_bLocked; +}; + +//---------------------------------------------------------------------------------------- + #endif // REPLAYSERIALIIZEABLE_H
\ No newline at end of file |