|
//====================================================================
// 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.
//
//====================================================================
#include "stdafx.h"
#include "incfinder.h"
#include "FileIterator.h"
#include "Parser.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// CFileIterator Implementation.
//////////////////////////////////////////////////////////////////////
CFileIterator::CFileIterator() :
c_hStopEvent( NULL ),
c_poParser( NULL )
{
}
//
// ------------------------------------------------------------------
//
CFileIterator::~CFileIterator()
{
c_hStopEvent = NULL;
c_poParser = NULL;
}
//
// ------------------------------------------------------------------
//
void CFileIterator::Prepare( HANDLE p_hEvent,
CParser * p_poParser )
{
c_hStopEvent = p_hEvent;
c_poParser = p_poParser;
}
//
// ------------------------------------------------------------------
//
bool CFileIterator::GetNextFile( CTCharString & p_rsFile )
{
return false;
}
|
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.