[50c14b]: Bif.h Maximize Restore History

Download this file

Bif.h    31 lines (24 with data), 875 Bytes

 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
// Bif.h: interface for the CBif class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_BIF_H__31C58D81_6869_4B93_B788_E7A2CB00D662__INCLUDED_)
#define AFX_BIF_H__31C58D81_6869_4B93_B788_E7A2CB00D662__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CBif
{
public:
CBif();
virtual ~CBif();
bif_header header;
bif_entry *entries;
tis_entry *tisentries;
long startpos;
// char *data; //raw binary data
int ReadBifHeader(CString filename); //reading header, entries, tisentries
int WriteBifHeader(CString filename); //writing out the indices ordered, the data part needs to be appended then
int CopyData(CString infile, CString outfile); //copying the rest
int FindResType(int restype, int start=0);
};
#endif // !defined(AFX_BIF_H__31C58D81_6869_4B93_B788_E7A2CB00D662__INCLUDED_)