//@author Roland Bramm //@version $LastChangedRevision: 736 $ //@date $LastChangedDate: 2006-02-01 13:31:48 +0100 (Wed, 01 Feb 2006) $ #include #include #include #include using namespace std; class ProgressBar{ public: ProgressBar(char bullet, int width, int maxCounter, string actionName); ~ProgressBar(); void setBulletChar(char bullet); void setWidth(int width); void setMaxCounter(int maxCounter); void setActionName(string actionName); int getWidthofBar(); int getBulletEvery(); int getBulletsEvery(); void printStart(); void print(int iterator); private: char fbullet; int fwidth; int fmaxCounter; string factionName; int fprintedBulletCounter; };