"L. Spiro Engine"

F:/My Projects/LSEngine/Modules/LSFileLib/Src/HighLevel/LSFFilesEx.h

00001 
00017 #ifndef __LSF_FILESEX_H__
00018 #define __LSF_FILESEX_H__
00019 
00020 #include "../LSFFileLib.h"
00021 #include "Allocators/LSAStdAllocator.h"
00022 
00023 namespace lsf {
00024 
00032         class CFilesEx {
00033         public :
00034                 // == Functions.
00038                 static LSVOID LSE_CALL                          InitFilesEx();
00039 
00043                 static LSVOID LSE_CALL                          ShutDownFilesEx();
00044 
00054                 static LSBOOL LSE_CALL                          LoadFileToMemory( const LSCHAR * _pcFile, LSUINT8 * &_pui8Buffer, LSUINTPTR * _puiptrSize,
00055                         CStdAllocator * _psaAllocator = NULL );
00056 
00064                 static LSVOID LSE_CALL                          FreeFile( LSUINT8 * _pui8Buffer, CStdAllocator * _psaAllocator = NULL );
00065 
00074                 static LSBOOL LSE_CALL                          SendBufferToFile( const LSCHAR * _pcPath, const LSUINT8 * _pui8Buffer, LSUINTPTR _uiptrSize );
00075 
00076 
00077         protected :
00078                 // == Members.
00082                 static CStdAllocator *                          m_psaAllocator;
00083         };
00084 }       // namespace lsf
00085 
00086 #endif  // __LSF_FILESEX_H__
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator