Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[50c14b]: VEF.h Maximize Restore History

Download this file

VEF.h    47 lines (41 with data), 971 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// VEF.h: interface for the CVEF class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_VEF_H__9EF7094C_4DCB_46D0_8A8F_1177EAE3AE70__INCLUDED_)
#define AFX_VEF_H__9EF7094C_4DCB_46D0_8A8F_1177EAE3AE70__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CVEF
{
public:
vef_header header;
vef_component *comp1;
vef_component *comp2;
int comp1count;
int comp2count;
bool m_changed;
CVEF();
virtual ~CVEF();
int ReadVEFFromFile(int fhandle, long maxlen);
int WriteVEFToFile(int fhandle, int calculate=0);
inline void KillComp1Headers()
{
if(comp1)
{
delete[] comp1;
comp1=NULL;
comp1count=0;
}
}
inline void KillComp2Headers()
{
if(comp2)
{
delete[] comp2;
comp2=NULL;
comp2count=0;
}
}
};
#endif // !defined(AFX_VEF_H__9EF7094C_4DCB_46D0_8A8F_1177EAE3AE70__INCLUDED_)