📄 bt.h
字号:
#ifndef __BT_H__
#define __BT_H__
#include <list>
#include <algorithm>
#include "Protocol.h"
using namespace std;
class BTPeer;
class BTTracker;
class BT:public Protocol{
public:
list<BTPeer*> mEspList;
BTTracker* mTracker;
public:
BT(void){}
~BT(void){}
void confAgent(void);
void confDocument(void);
void confEvents( void );
int pick(void);
void printEspInfo(void);
bool ifEsp( BTPeer* peer){
if( find( mEspList.begin(), mEspList.end(), peer) != mEspList.end())
return true;
else
return false;
}
float getEspOutput(void);
unsigned int getEspFileCon( string );
};
extern BT bt;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -