mirror of
https://github.com/reactos/reactos.git
synced 2024-10-30 11:35:58 +00:00
1e3d5d70e9
svn path=/trunk/; revision=26033
23 lines
428 B
C++
23 lines
428 B
C++
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS HTTP Daemon
|
|
* FILE: include/iterator.h
|
|
*/
|
|
#ifndef __ITERATOR_H
|
|
#define __ITERATOR_H
|
|
|
|
#include <windows.h>
|
|
|
|
template <class Item>
|
|
class CIterator {
|
|
public:
|
|
virtual ~CIterator()
|
|
{}
|
|
virtual VOID First() = 0;
|
|
virtual VOID Next() = 0;
|
|
virtual BOOL IsDone() const = 0;
|
|
virtual Item CurrentItem() const = 0;
|
|
};
|
|
|
|
#endif /* __ITERATOR_H */
|