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++
19 lines
397 B
C++
#pragma once
|
|
#include "Observer.h"
|
|
|
|
//加工进度管理
|
|
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; |