mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 10:53:15 +00:00
35 lines
728 B
C
35 lines
728 B
C
![]() |
/*
|
||
|
* COPYRIGHT: See COPYING in the top level directory
|
||
|
* PROJECT: ReactOS cabinet manager
|
||
|
* FILE: tools/cabman/cabman.h
|
||
|
* PURPOSE: Cabinet manager header
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "cabinet.h"
|
||
|
|
||
|
#ifndef CAB_READ_ONLY
|
||
|
|
||
|
class CCFDATAStorage
|
||
|
{
|
||
|
public:
|
||
|
/* Default constructor */
|
||
|
CCFDATAStorage();
|
||
|
/* Default destructor */
|
||
|
virtual ~CCFDATAStorage();
|
||
|
ULONG Create();
|
||
|
ULONG Destroy();
|
||
|
ULONG Truncate();
|
||
|
ULONG Position();
|
||
|
ULONG Seek(LONG Position);
|
||
|
ULONG ReadBlock(PCFDATA Data, void* Buffer, PULONG BytesRead);
|
||
|
ULONG WriteBlock(PCFDATA Data, void* Buffer, PULONG BytesWritten);
|
||
|
private:
|
||
|
char FullName[PATH_MAX];
|
||
|
FILE* FileHandle;
|
||
|
};
|
||
|
|
||
|
#endif /* CAB_READ_ONLY */
|
||
|
|