Patch level :4.0 800
Files correlati : Ricompilazione Demo : [ ] Commento :modifiche per la gestione archivi git-svn-id: svn://10.65.10.50/trunk@15677 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
c118e1386a
commit
6e76b50513
@ -105,8 +105,33 @@ TInfo_mask::TInfo_mask()
|
|||||||
add_row(TR("Config"), campoini.name());
|
add_row(TR("Config"), campoini.name());
|
||||||
add_row(TR("Studio"), firm2dir(-1));
|
add_row(TR("Studio"), firm2dir(-1));
|
||||||
add_row(TR("Ditta"), campoini.get("Firm", "Main"));
|
add_row(TR("Ditta"), campoini.get("Firm", "Main"));
|
||||||
add_row(TR("Agg. progr."), campoini.get_bool("TestPrograms") ? TR("Si") : TR("No"));
|
|
||||||
add_row(TR("Agg. dati"), campoini.get_bool("TestDatabase") ? TR("Si") : TR("No"));
|
const int type = campoini.get_int("Type");
|
||||||
|
TString tipo = TR("Postazione singola");
|
||||||
|
switch (type)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
tipo = TR("Server");
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
tipo = TR("Client");
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
{
|
||||||
|
const bool td = campoini.get_bool("TestDatabase");
|
||||||
|
const bool tp = campoini.get_bool("TestPrograms");
|
||||||
|
if (td && tp)
|
||||||
|
tipo = TR("Server");
|
||||||
|
if (!td)
|
||||||
|
tipo = TR("Client");
|
||||||
|
if (td && !tp)
|
||||||
|
tipo = TR("Server o Postazione singola");
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if (prefix_valid())
|
if (prefix_valid())
|
||||||
add_row(TR("Valuta"), TCurrency::get_firm_val());
|
add_row(TR("Valuta"), TCurrency::get_firm_val());
|
||||||
add_row(TR("Stampante"), userini.get("Name", "Printer"));
|
add_row(TR("Stampante"), userini.get("Name", "Printer"));
|
||||||
|
@ -318,7 +318,6 @@ void TDir::print_on (ostream & out) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
void TDir::read_from (istream & in)
|
void TDir::read_from (istream & in)
|
||||||
|
|
||||||
{
|
{
|
||||||
CHECK(_dir,"Can't read into a NULL _dir");
|
CHECK(_dir,"Can't read into a NULL _dir");
|
||||||
in.getline (_files_tmp_string, sizeof (_files_tmp_string), '\n');
|
in.getline (_files_tmp_string, sizeof (_files_tmp_string), '\n');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user