|
//====================================================================
// Although great care has gone into developing this software,
// it is provided without any guarantee of reliability, accuracy
// of information, or correctness of operation. I am not responsible
// for any damages that may occur as a result of using this software.
// Use this software entirely at your own risk.
// Copyright 2003, Chris Richardson
//
// Description: Iterates files from a source of some sort.
//
//====================================================================
#if !defined(AFX_FILEITERATOR_H__7E3417C7_C8CA_4332_A457_4D99E194BCA8__INCLUDED_)
#define AFX_FILEITERATOR_H__7E3417C7_C8CA_4332_A457_4D99E194BCA8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "global.h"
class CParser;
class CFileIterator
{
protected:
CFileIterator(); // Can only create sub-classes.
public:
virtual ~CFileIterator();
virtual void Prepare( HANDLE p_hEvent,
CParser * p_poParser );
virtual bool GetNextFile( CTCharString & p_rsFile );
protected:
HANDLE c_hStopEvent;
CParser * c_poParser;
};
#endif // !defined(AFX_FILEITERATOR_H__7E3417C7_C8CA_4332_A457_4D99E194BCA8__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.