00001 #ifndef X3DTK_PROGRESS_H 00002 #define X3DTK_PROGRESS_H 00003 00004 #include "Route.h" 00005 00006 namespace X3DTK { 00007 00014 class Progress 00015 { 00016 public: 00018 Progress(int step = 1); 00019 00021 void setTotalSteps(int totalSteps); 00023 void setProgress(int progress); 00024 00026 int getTotalSteps() const; 00028 int getProgress() const; 00029 00030 private: 00031 int _totalSteps; 00032 int _progress; 00033 int _step; 00034 int _inc; 00035 }; 00036 00037 } 00038 00039 #endif