-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfdnuser.h
More file actions
executable file
·74 lines (48 loc) · 2.42 KB
/
fdnuser.h
File metadata and controls
executable file
·74 lines (48 loc) · 2.42 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/**************************************************************************/
/* */
/* This file should be modified as per your personal requirements for the */
/* nodelist class. A different copy may be used for each project by */
/* placing in the work directory of the project. */
/* */
/**************************************************************************/
#ifndef _FDN_FDNUSER
#define _FDN_FDNUSER
// The following dictates what system to use for io. These represent
// iostream.h, stdio.h, and io.h style systems respectively.
// !BE SURE TO ONLY UNCOMMENT ONE AT A TIME! Otherwise the code will NOT
// compile. If you are not using C++ you cannot select FDN_USEIOS.
//#define FDN_USEIOS
#define FDN_USESTD
//#define FDN_USEHAND
// If you must use your own IO system uncomment the following line for the
// io system and carefully read the guidelines in FDNODE.DOC concerning
// the building of your own object.
//#define FDN_USEUSER
// You may elect to use a standard set of functions to create and delete
// busy semaphores if you use your own IO system. Uncomment one of the
// following to do this. Otherwise you must create your own functions.
#ifdef FDN_USEUSER
//#define FDN_INST_USESTD
//#define FDN_INST_USEIOS
//#define FDN_INST_USEHAND
#endif
// The following should be uncommented if compiling the code into a DLL
#define FDN_DLL
// The following should be uncommented if the alignment for the structures
// should be forced to one byte packing
#define FDN_PACK
// If you are deriving a new class based on the FDNFile class for enhanced
// error detection you should specify the name of your derived object here.
// Otherwise, it should remain as FDNFile.
#define FDN_FileObject FDNFile
// If you wish to use your own IO system then you must supply code for all
// member functions listed in FDNODE.H in the FDNFile for which there is no
// function body so far.
// Specify the name of the data object which holds the file info (eg.
// file pointer, integer handle, or some other object) after the define here.
#ifdef FDN_USEUSER
#define FDN_UserFileObject CAbsBufFile
#endif
#else /* #ifndef _FDN_FDNUSER */
#endif /* #ifndef _FDN_FDNUSER / #else */
/* end of file fdnuser.h */