ultimatepp/uppdev/MySupport/MyProgress.h
cxl 3cd394812c Merge continued
git-svn-id: svn://ultimatepp.org/upp/trunk@10263 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-10-04 08:34:39 +00:00

20 lines
395 B
C++

#ifndef _MySupport_MyProgress_h_
#define _MySupport_MyProgress_h_
class MyProgress : public Progress {
private:
int ts, pp;
public:
void SetMax(int max);
void SetLev(int lev);
bool PartialProgress(int par, int tot);
operator Gate2<int, int>() { return callback(this, &MyProgress::PartialProgress); }
typedef MyProgress CLASSNAME;
};
#endif