Patch level :10.0 344
Files correlati : Ricompilazione Demo : [ ] Commento : sistemato problema sui file **fconv.ini in fase di postinstallazione su quello schifo di Vista git-svn-id: svn://10.65.10.50/trunk@19026 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
9195850fa4
commit
a222f2c19d
@ -51,6 +51,8 @@ public:
|
||||
|
||||
inline TCreazione_dischi& app() { return (TCreazione_dischi&)main_app(); }
|
||||
|
||||
|
||||
#ifdef __FCONV__
|
||||
class TFconv_ini : public TConfig
|
||||
{
|
||||
public:
|
||||
@ -59,7 +61,7 @@ public:
|
||||
TFconv_ini(const char* path = "fconv.ini") : TConfig(path) { }
|
||||
virtual ~TFconv_ini() { }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
// costruisce la lista del modulo e dei suoi sottomoduli interni
|
||||
// vengono creati solo i sottomoduli che contengono almeno
|
||||
@ -316,6 +318,7 @@ void TInstall_ini::export_module_paragraphs(const char* module, const char* summ
|
||||
if (set_paragraph(mod))
|
||||
export_paragraph(mod, summary, remove_old);
|
||||
|
||||
#ifdef __FCONV__
|
||||
if (remove_old)
|
||||
{
|
||||
// esporta le info di conversione
|
||||
@ -336,6 +339,7 @@ void TInstall_ini::export_module_paragraphs(const char* module, const char* summ
|
||||
fconv.export_module(module, path);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
const TString& TInstall_ini::version(const char* module)
|
||||
@ -433,6 +437,8 @@ void TInstall_ini::prices(const char* module, word users, real& full, real& assi
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef __FCONV__
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
// TFconv_ini
|
||||
///////////////////////////////////////////////////////////
|
||||
@ -469,6 +475,7 @@ void TFconv_ini::export_module(const char* module, const char* summary)
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
// Maschera composizione del modulo
|
||||
@ -1450,6 +1457,7 @@ bool TCreadischi_mask::creazip_handler(TMask_field& f, KEY k)
|
||||
|
||||
if (fm.zip_module(module, agg, m.get_int(S_PATCHLEVEL)))
|
||||
{
|
||||
#ifdef __FCONV__
|
||||
// creazione XXfconv.ini (esporta le info di conversione )
|
||||
TFilename fconv_path;
|
||||
fconv_path = fm.get(F_DISKPATH);
|
||||
@ -1458,6 +1466,7 @@ bool TCreadischi_mask::creazip_handler(TMask_field& f, KEY k)
|
||||
|
||||
TFconv_ini fconv;
|
||||
fconv.export_module(module, fconv_path);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user