server1.h

来自「断点.zip 断点续传的示例.可实现局网内的断点续传 源代码」· C头文件 代码 · 共 63 行

H
63
字号
// server1.h : main header file for the SERVER1 application
//
//作者:赵明
//EMAIL:zmpapaya@hotmail.com;papaya_zm@sina.com
//主页:http://h2osky.126.com
#if !defined(AFX_SERVER1_H__8BA80188_402F_4B6C_A57D_26200B8730D1__INCLUDED_)
#define AFX_SERVER1_H__8BA80188_402F_4B6C_A57D_26200B8730D1__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"       // main symbols
//extern struct filesendinfo zmfile[10];
/////////////////////////////////////////////////////////////////////////////
// CServer1App:
// See server1.cpp for the implementation of this class


//文件信息
 struct filesendinfo
{

	char name[100];
int length;
int date;

};

 extern struct filesendinfo zmfile[10];
class CServer1App : public CWinApp
{
public:
	CServer1App();
	CString m_strIp;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CServer1App)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation
	//{{AFX_MSG(CServer1App)
	afx_msg void OnAppAbout();
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SERVER1_H__8BA80188_402F_4B6C_A57D_26200B8730D1__INCLUDED_)

⌨️ 快捷键说明

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