Patch level : 12.00 1414
Files correlati : ba8.exe Commento : Aggiornato stampatore di report
This commit is contained in:
parent
9ffcf01841
commit
0a53a2b42b
@ -119,7 +119,8 @@ public: // Absolutely needed methods
|
|||||||
virtual const TVariant& get(unsigned int column) const pure;
|
virtual const TVariant& get(unsigned int column) const pure;
|
||||||
|
|
||||||
virtual const TString_array& variables() const { return _varnames; }
|
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 set_var(const char* name, const TVariant& var, bool create = false);
|
||||||
virtual bool ask_variables(bool all);
|
virtual bool ask_variables(bool all);
|
||||||
|
|
||||||
|
|||||||
@ -779,22 +779,19 @@ bool supervisor()
|
|||||||
// DON'T cache this bool because hostname can be local or server
|
// DON'T cache this bool because hostname can be local or server
|
||||||
static bool is_sirio_station(const char* hostname)
|
static bool is_sirio_station(const char* hostname)
|
||||||
{
|
{
|
||||||
const char* const ranger[] =
|
const char* const ranger[] =
|
||||||
{
|
{
|
||||||
//"NBKI7HPFERRANDI", // Davide
|
"SPOCK*", // Alessandro
|
||||||
//"MOBILE", // Roberto
|
|
||||||
//"NBK_SPALACINO_A", // Simone
|
|
||||||
"SPOCK", // Alessandro
|
|
||||||
"ARCHIMEDE", // Alessandro
|
"ARCHIMEDE", // Alessandro
|
||||||
"SULU", // Macchianacompilatrice
|
"sulu", // Macchiana compilatrice
|
||||||
nullptr
|
nullptr
|
||||||
};
|
};
|
||||||
for (int i = 0; ranger[i]; i++)
|
for (int i = 0; ranger[i]; i++)
|
||||||
if (xvt_str_same(hostname, ranger[i]))
|
if (xvt_str_same(hostname, ranger[i]) || xvt_str_match(hostname, ranger[i], false))
|
||||||
return true;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool is_debug_station()
|
bool is_debug_station()
|
||||||
{
|
{
|
||||||
const TString& host = get_hostname();
|
const TString& host = get_hostname();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user