summaryrefslogtreecommitdiff
path: root/launcher/ifilesystem.h
blob: 75d9cfe82d72d27d46070da8b03c0fd9293e32a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: 
//
// $Workfile:     $
// $Date:         $
// $NoKeywords: $
//=============================================================================//
#ifndef IFILESYSTEM_H
#define IFILESYSTEM_H
#ifdef _WIN32
#pragma once
#endif

#include "interface.h"


class IFileSystem;

//-----------------------------------------------------------------------------
// Loads, unloads the file system DLL
//-----------------------------------------------------------------------------
bool FileSystem_LoadFileSystemModule( void );
void FileSystem_UnloadFileSystemModule( void );

CSysModule * FileSystem_LoadModule( const char* path );
void FileSystem_UnloadModule( CSysModule *pModule );

bool FileSystem_Init( );
void FileSystem_Shutdown( void );

// Sets the file system search path based on the game directory
bool FileSystem_SetGameDirectory( char const* pGameDir );

extern IFileSystem *g_pFileSystem;

#endif // IFILESYSTEM_H