⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xsys.h

📁 这是和p2p相关的一份源码
💻 H
字号:
// ------------------------------------------------// File : wsys.h// Date: 4-apr-2002// Author: giles// Desc: //		WSys derives from Sys to provide basic win32 functions such as starting threads.//// (c) 2002 peercast.org// ------------------------------------------------#ifndef _XSYS_H#define _XSYS_H// ------------------------------------#include "socket.h"#include "sys.h"// ------------------------------------class XSys : public Sys{public:	XSys();	virtual	ClientSocket	*createSocket();	virtual bool			startThread(ThreadInfo *);	virtual void			sleep(int );	virtual void			appMsg(long,long);	virtual unsigned int	getTime();	virtual unsigned int	rnd() {return rndGen.next();}	virtual void			getURL(const char *);	virtual void			exit();	virtual bool			hasGUI() {return false;}	virtual void			callLocalURL(const char *,int){}	virtual void			setNotify(NOTIFY_TYPE,const char *,const char *){}	virtual void			clearNotify(NOTIFY_TYPE){}	virtual void			executeFile(const char *) {}	Random rndGen;};                               // ------------------------------------#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -