📄 netflowrecoder.h
字号:
#pragma once
#include <windows.h>
class CNetFlowRecoder
{
public:
static CNetFlowRecoder* GetInstance();
void RefreshFlow(UINT increase);
void AddTotalFlow(UINT increase);//
void RefreshSpeed();
UINT GetCompletedFlow();
UINT GetCurSpeed();
float GetCurPersentage();
bool IsCompleted();
bool m_isBegin;
//private:
int m_iFlowRecoder;
int m_iTotalFlow;//所有任务的下载总和
int m_iNetRate;//下载速率
float m_iPersentage;//完成的百分比
CNetFlowRecoder(void);
~CNetFlowRecoder(void);
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -