[10983] Config option for disable progress bar show at server startup.

Make happy nervouse ppl by some secs startup speedup.
This commit is contained in:
VladimirMangos 2011-01-08 03:12:15 +03:00
parent b89e531fee
commit ea930108da
5 changed files with 41 additions and 15 deletions

View file

@ -22,18 +22,22 @@
class MANGOS_DLL_SPEC barGoLink
{
static char const * const empty;
static char const * const full;
int rec_no;
int rec_pos;
int num_rec;
int indic_len;
public:
void step( void );
barGoLink( int );
public: // constructors
barGoLink(int row_count);
~barGoLink();
public: // modifiers
void step( void );
static void SetOutputState(bool on) { m_showOutput = on; }
private:
static bool m_showOutput; // not recommended change with existed active bar
static char const * const empty;
static char const * const full;
int rec_no;
int rec_pos;
int num_rec;
int indic_len;
};
#endif