hostile-takeover/game/progresscallback.h
2014-07-06 17:47:28 -07:00

17 lines
401 B
C++

#ifndef __PROGRESSCALLBACK_H__
#define __PROGRESSCALLBACK_H__
namespace wi {
class ProgressCallback {
public:
virtual void OnBegin(void *ctx, int cbLength) = 0;
virtual void OnProgress(void *ctx, int cbTotal, int cbLength) = 0;
virtual void OnFinished(void *ctx) = 0;
virtual void OnError(void *ctx, const char *pszError) = 0;
};
} // namespace wi
#endif // __PROGRESSCALLBACK_H__