/**********************************************************************
This file is part of Crack dot Com's free source code release of
Golgotha.
for
information about compiling & licensing issues visit this URL
If that doesn't help, contact Jonathan Clark at
golgotha_source@usa.net (Subject should have "GOLG" in it)
***********************************************************************/
enum { I4_STAT_LEN=70 };
#include "status/status.hh"
#include
class i4_linux_status_class : public i4_status_class
{
public:
int last_percent;
i4_linux_status_class() { last_percent=0; }
virtual i4_bool update(float per)
{
while (per*I4_STAT_LEN > last_percent)
{
fprintf(stderr,".");
last_percent++;
}
}
virtual ~i4_linux_status_class()
{
int i;
while (last_percentI4_STAT_LEN ? I4_STAT_LEN : description.length();
fprintf(stderr,"[");
i4_const_str::iterator it=description.begin();
for (i=0; i