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.

35 lines
781 B
C++

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

//////////////////////////////////////////////////////////////////////////////
//文件: 进程条对话框基础纯虚类
//主要功能:
// 在线程中使用进程条
//程序编写:
//日期2011-08-30
//
//
/////////////////////////////////////////////////////////////////////////////
#pragma once
namespace NProgress
{
class AFX_EXT_CLASS CProgressBase
{
public:
CProgressBase(void) { }
~CProgressBase(void){ }
virtual void SetProgressText(LPCTSTR lpszText) = 0;
virtual void SetProgressPos(int nPos) = 0;
virtual void SetProgressRange(int nLower, int nUpper) = 0;
virtual void SetProgressInfo(__int64 cur, __int64 total) = 0;
virtual bool IsCanceled(void) = 0;
virtual bool IsSucceed(void) = 0;
virtual void EnableSucceed(bool bEnable) = 0;
};
}//namespace
using namespace NProgress;