hexfiledata.h

来自「PW芯片方案Flash ROM烧写程序」· C头文件 代码 · 共 79 行

H
79
字号
//---------------------------------------------------------------------------
// Pixelworks Inc. Company Confidential Strictly Private
//
// $Archive: $
// $Revision: 1.1.1.1 $
// $Author: KevinM $
// $Date: 2003/09/29 18:19:04 $
//
// --------------------------------------------------------------------------
// >>>>>>>>>>>>>>>>>>>>>>>>> COPYRIGHT NOTICE <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
// --------------------------------------------------------------------------
// Copyright 1997-2003 (c) Pixelworks Inc.
//
// Pixelworks owns the sole copyright to this software. Under international 
// copyright laws you (1) may not make a copy of this software except for 
// the purposes of maintaining a single archive copy, (2) may not derive
// works herefrom, (3) may not distribute this work to others. These rights 
// are provided for information clarification, other restrictions of rights 
// may apply as well.
//
// This is an unpublished work.
// --------------------------------------------------------------------------
// >>>>>>>>>>>>>>>>>>>>>>>>>>>> WARRANTEE <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
// --------------------------------------------------------------------------
// Pixelworks Inc. MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THE USE OF
// THIS SOFTWARE, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
// THE IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
// PURPOSE.
// --------------------------------------------------------------------------
//
// HexFileData.h: interface for the CHexFileData class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_HEXFILEDATA_H__15464C69_B568_428D_BEC6_97DDEB9A5865__INCLUDED_)
#define AFX_HEXFILEDATA_H__15464C69_B568_428D_BEC6_97DDEB9A5865__INCLUDED_

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

#include "HexRegion.h"

class CHexFileData  
{
public:
	int GetLength();
	int GetStart();
	CString GetStatus(eFLASH_MODE nFlashMode = fmFlash);
	int GetDownloadSize();
	int GetIcon(eFLASH_MODE nFlashMode = fmFlash);
	CHexFileData();
	virtual ~CHexFileData();

	CString		m_strPath;
	CString		m_strName;

	// List of pointers to CRegion objects...
	CPtrList	m_RegionList;

	//
	// Switch used to control whether or not to optionally
	// download this file.
	//
	BOOL		m_bDownload;

	BOOL		m_bConflict;

	BOOL		m_bExecute;

	BOOL		m_bMissing;

	BOOL		m_bVerify;

	int			m_nFileLength;
};

#endif // !defined(AFX_HEXFILEDATA_H__15464C69_B568_428D_BEC6_97DDEB9A5865__INCLUDED_)

⌨️ 快捷键说明

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