Patch level : 12.00 1414

Files correlati     : ba8.exe

Commento                :
Aggiornato stampatore di report
This commit is contained in:
Alessandro Bonazzi 2026-07-16 17:21:12 +02:00
parent 9ffcf01841
commit 0a53a2b42b
2 changed files with 10 additions and 12 deletions

View File

@ -119,7 +119,8 @@ public: // Absolutely needed methods
virtual const TVariant& get(unsigned int column) const pure;
virtual const TString_array& variables() const { return _varnames; }
virtual const TVariant& get_var(const char* name) const;
virtual void clear_variables() { _varnames.destroy(); }
virtual const TVariant& get_var(const char* name) const;
virtual bool set_var(const char* name, const TVariant& var, bool create = false);
virtual bool ask_variables(bool all);

View File

@ -779,22 +779,19 @@ bool supervisor()
// DON'T cache this bool because hostname can be local or server
static bool is_sirio_station(const char* hostname)
{
const char* const ranger[] =
const char* const ranger[] =
{
//"NBKI7HPFERRANDI", // Davide
//"MOBILE", // Roberto
//"NBK_SPALACINO_A", // Simone
"SPOCK", // Alessandro
"SPOCK*", // Alessandro
"ARCHIMEDE", // Alessandro
"SULU", // Macchianacompilatrice
"sulu", // Macchiana compilatrice
nullptr
};
for (int i = 0; ranger[i]; i++)
if (xvt_str_same(hostname, ranger[i]))
return true;
return false;
for (int i = 0; ranger[i]; i++)
if (xvt_str_same(hostname, ranger[i]) || xvt_str_match(hostname, ranger[i], false))
return true;
return false;
}
bool is_debug_station()
{
const TString& host = get_hostname();