Aggiunto livello dei files
git-svn-id: svn://10.65.10.50/trunk@292 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
d62839f466
commit
5976cbaf1a
@ -21,15 +21,12 @@ extern "C" {
|
|||||||
// Guy moved these outside extern
|
// Guy moved these outside extern
|
||||||
extern isfdptr* openf;
|
extern isfdptr* openf;
|
||||||
extern Str80 cprefix;
|
extern Str80 cprefix;
|
||||||
|
extern long stdlevel;
|
||||||
|
|
||||||
#ifdef __STDTYPES_CPP
|
#ifdef __STDTYPES_CPP
|
||||||
#define extern
|
#define extern
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// extern TDitta cditta;
|
|
||||||
// extern short flprassi;
|
|
||||||
// extern short flaltmodins;
|
|
||||||
|
|
||||||
extern short isjournal;
|
extern short isjournal;
|
||||||
|
|
||||||
#ifdef __STDTYPES_CPP
|
#ifdef __STDTYPES_CPP
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
#define REFKEY "CAMPOKEY"
|
#define REFKEY "CAMPOKEY"
|
||||||
#define VERKEY "ìpÙˆ¬cê<"
|
#define VERKEY "ìpÙˆ¬cê<"
|
||||||
|
|
||||||
|
long stdlevel ;
|
||||||
|
|
||||||
void init_global_vars()
|
void init_global_vars()
|
||||||
{
|
{
|
||||||
@ -35,6 +36,7 @@ void init_global_vars()
|
|||||||
prefhndl = new TPrefix;
|
prefhndl = new TPrefix;
|
||||||
prefhndl->set("DEF");
|
prefhndl->set("DEF");
|
||||||
prefhndl->set("");
|
prefhndl->set("");
|
||||||
|
stdlevel = prefhndl->filelevel();
|
||||||
|
|
||||||
FileDes d;
|
FileDes d;
|
||||||
CGetFile(LF_DIR, &d, _nolock, NORDIR);
|
CGetFile(LF_DIR, &d, _nolock, NORDIR);
|
||||||
@ -44,12 +46,7 @@ void init_global_vars()
|
|||||||
CGetFile(LF_DIR, &d, _nolock, NORDIR);
|
CGetFile(LF_DIR, &d, _nolock, NORDIR);
|
||||||
if (d.EOD > maxfdir) maxfdir = d.EOD;
|
if (d.EOD > maxfdir) maxfdir = d.EOD;
|
||||||
|
|
||||||
/*
|
// isjournal = *((bool *) CGetConf(JOURNALING));
|
||||||
char pd[64];
|
|
||||||
strcpy(pd, CInsPref("dta.gen", NORDIR));
|
|
||||||
CGetDitta(pd);
|
|
||||||
isjournal = *((bool *) CGetConf(JOURNALING));
|
|
||||||
*/
|
|
||||||
isjournal = FALSE;
|
isjournal = FALSE;
|
||||||
|
|
||||||
openf = new isfdptr[maxfdir];
|
openf = new isfdptr[maxfdir];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user