Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007 #ifndef PROGRESSTOOL_HPP
00008 #define PROGRESSTOOL_HPP
00009
00010 #include "CubitDefines.h"
00011 #include "CGMUtilConfigure.h"
00012
00013 class CUBIT_UTIL_EXPORT ProgressTool
00014 {
00015 public:
00016 virtual ~ProgressTool() {}
00017
00018 virtual void start(int nLower, int nUpper,
00019 const char* title = NULL,
00020 const char* info_string = NULL,
00021 CubitBoolean bSmooth = CUBIT_TRUE,
00022 CubitBoolean bHasCancelButton = CUBIT_FALSE) = 0;
00023
00024 virtual void end() = 0;
00025
00026 virtual void step() = 0;
00027
00028
00029 virtual void percent( double pcnt ) = 0;
00030
00031
00032
00033 virtual void check_interrupt() = 0;
00034
00035 };
00036
00037 #endif
00038
00039
00040