zipalot.h

来自「zip的全部算法源代码」· C头文件 代码 · 共 89 行

H
89
字号
/*************************************************************************
                     ZipALot
**************************************************************************

Copyright (C) October, 2000 Jean-Pierre Bergamin, james@ractive.ch

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
***************************************************************************/

// ZipALot.h : main header file for the ZIPALOT application
//

#if !defined(AFX_ZIPALOT_H__0FB5A9B4_B42F_11D3_8354_0000B4A265C3__INCLUDED_)
#define AFX_ZIPALOT_H__0FB5A9B4_B42F_11D3_8354_0000B4A265C3__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

#define HISTORY_SIZE 6

#define WM_EXTRACT_RANGE		(WM_USER + 1)
#define WM_EXTRACT_STEPIT		(WM_USER + 2)
#define WM_EXTRACT_CURFILE		(WM_USER + 3)
#define WM_EXTRACT_CURZIPFILE	(WM_USER + 4)
#define WM_EXTRACT_ERROR		(WM_USER + 5)
#define WM_EXTRACT_SETSOURCE	(WM_USER + 6)
#define WM_EXTRACT_SETTARGET	(WM_USER + 7)


typedef enum{EX_OK, EX_UNKNOWN, EX_EXISTS, EX_ARCHIVE, EX_MEM, EX_NO_ARCHIVES, EX_CANCELLED, EX_NO_FILES, EX_DISK, EX_EOF, EX_UNSUP, EX_BADPWD, EX_CRC, EX_OPEN, EX_CLOSE, EX_WRITE, EX_READ, EX_CREATE, EX_BUF} errorCode;


#include "resource.h"		// main symbols

/////////////////////////////////////////////////////////////////////////////
// CZipALotApp:
// See ZipALot.cpp for the implementation of this class
//

class CZipALotApp : public CWinApp
{
public:
	CZipALotApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CZipALotApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CZipALotApp)
		// 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()
public:
	BOOL GetMRUDirName(int n, CString &sName);
	void RemoveAllMRUs();
	void RemoveMRU(int nIndex);
};


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

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

#endif // !defined(AFX_ZIPALOT_H__0FB5A9B4_B42F_11D3_8354_0000B4A265C3__INCLUDED_)

⌨️ 快捷键说明

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