ultimatepp/uppdev/MySupport/MyProgress.h
cxl 351994a6cc Adding uppdev....
git-svn-id: svn://ultimatepp.org/upp/trunk@328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-08-15 08:36:24 +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