aboutsummaryrefslogtreecommitdiff
path: root/mp/src/public/scenefilecache/ISceneFileCache.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/scenefilecache/ISceneFileCache.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/scenefilecache/ISceneFileCache.h')
-rw-r--r--mp/src/public/scenefilecache/ISceneFileCache.h86
1 files changed, 43 insertions, 43 deletions
diff --git a/mp/src/public/scenefilecache/ISceneFileCache.h b/mp/src/public/scenefilecache/ISceneFileCache.h
index c8ec3635..973c6ef7 100644
--- a/mp/src/public/scenefilecache/ISceneFileCache.h
+++ b/mp/src/public/scenefilecache/ISceneFileCache.h
@@ -1,43 +1,43 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-//=============================================================================
-
-#ifndef ISCENEFILECACHE_H
-#define ISCENEFILECACHE_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include "interface.h"
-#include "appframework/IAppSystem.h"
-
-// the file cache can support persisting some calcs
-struct SceneCachedData_t
-{
- unsigned int msecs;
- int numSounds;
- int sceneId;
-};
-
-class ISceneFileCache : public IAppSystem
-{
-public:
-
- // async implemenation
- virtual size_t GetSceneBufferSize( char const *filename ) = 0;
- virtual bool GetSceneData( char const *filename, byte *buf, size_t bufsize ) = 0;
-
- // persisted scene data, returns true if valid, false otherwise
- virtual bool GetSceneCachedData( char const *pFilename, SceneCachedData_t *pData ) = 0;
- virtual short GetSceneCachedSound( int iScene, int iSound ) = 0;
- virtual const char *GetSceneString( short stringId ) = 0;
-
- // Physically reloads image from disk
- virtual void Reload() = 0;
-};
-
-#define SCENE_FILE_CACHE_INTERFACE_VERSION "SceneFileCache002"
-
-#endif // ISCENEFILECACHE_H
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================
+
+#ifndef ISCENEFILECACHE_H
+#define ISCENEFILECACHE_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "interface.h"
+#include "appframework/IAppSystem.h"
+
+// the file cache can support persisting some calcs
+struct SceneCachedData_t
+{
+ unsigned int msecs;
+ int numSounds;
+ int sceneId;
+};
+
+class ISceneFileCache : public IAppSystem
+{
+public:
+
+ // async implemenation
+ virtual size_t GetSceneBufferSize( char const *filename ) = 0;
+ virtual bool GetSceneData( char const *filename, byte *buf, size_t bufsize ) = 0;
+
+ // persisted scene data, returns true if valid, false otherwise
+ virtual bool GetSceneCachedData( char const *pFilename, SceneCachedData_t *pData ) = 0;
+ virtual short GetSceneCachedSound( int iScene, int iSound ) = 0;
+ virtual const char *GetSceneString( short stringId ) = 0;
+
+ // Physically reloads image from disk
+ virtual void Reload() = 0;
+};
+
+#define SCENE_FILE_CACHE_INTERFACE_VERSION "SceneFileCache002"
+
+#endif // ISCENEFILECACHE_H