You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
397 B
C

#pragma once
#include "Observer.h"
//<2F>ӹ<EFBFBD><D3B9><EFBFBD><EFBFBD>ȹ<EFBFBD><C8B9><EFBFBD>
class CProgressMgr
{
public:
CProgressMgr(void);
~CProgressMgr(void);
void SetWorkProgress(CProgressCtrl *p){m_WorkProgress = p;};
void SetCurProgress(int cur,int total);
void SetCurProgress(double val);
void ResetStopState();
bool GetStopState();
private:
CProgressCtrl *m_WorkProgress;
};
extern CProgressMgr gProgressMgr;