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

📄 sefileinfo.h

📁 这是一个用VC编的解压包
💻 H
字号:
/*************************************************************************************
*
*	File:		SEFileInfo.h
*	Version:	1.0
*
*	Author:		James Spibey
*	Date:		04/08/1999		
*	E-mail:		spib@bigfoot.com
*
*	Specification of the CSEFileInfo class
*
*	You are free to use, distribute or modify this code
*	as long as this header is not removed or modified.
*
*	This class holds data regarding each file in an archive
*
*************************************************************************************/

#if !defined(AFX_SEFILEINFO_H__5C3D775E_497B_11D3_A8BC_0050043A01C0__INCLUDED_)
#define AFX_SEFILEINFO_H__5C3D775E_497B_11D3_A8BC_0050043A01C0__INCLUDED_

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

class CSEFileInfo
{
public:
	CSEFileInfo();
	~CSEFileInfo();
	void		Serialize(CArchive &ar);

	BOOL		SetData(CString File);
	void		SetFilename(CString file){m_strFilename = file;}
	void		SetSize(int size){m_nSize = size;}
	void		SetOffset(int offset){m_nOffset = offset;}
	
	CString		GetPathname(){return m_strPathname;}
	CString		GetFilename(){return m_strFilename;}
	int			GetFileSize(){return m_nSize;}
	int			GetFileOffset(){return m_nOffset;}

	void Reset();

protected:
	CString		m_strFilename;		//Name of file
	CString		m_strPathname;		//Path to file to add
	int			m_nSize;			//Size of file
	int			m_nOffset;			//Start Offset
};

#endif // !defined(AFX_SEFILEINFO_H__5C3D775E_497B_11D3_A8BC_0050043A01C0__INCLUDED_)

⌨️ 快捷键说明

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