X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=linkiterator.hpp;fp=linkiterator.hpp;h=0000000000000000000000000000000000000000;hb=0acb5f1329d294faf42e247f8c2daf68d82150f6;hp=2f93a2ff9484e836d571be9bf225d5b433cb30ac;hpb=1b6026c7baa122b99011f760857b80b7f253dfbb;p=videolink.git diff --git a/linkiterator.hpp b/linkiterator.hpp deleted file mode 100644 index 2f93a2f..0000000 --- a/linkiterator.hpp +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2005 Ben Hutchings . -// See the file "COPYING" for licence details. - -#ifndef INC_LINKITERATOR_HPP -#define INC_LINKITERATOR_HPP - -#include - -#include -#include -#include - -class nsIDOMDocument; - -class LinkIterator - : public std::iterator, - void, void, void> -{ -public: - LinkIterator(); - explicit LinkIterator(nsIDOMDocument * document); - - already_AddRefed operator*() const; - LinkIterator & operator++(); - bool operator==(const LinkIterator &) const; - bool operator!=(const LinkIterator & other) const - { - return !(*this == other); - } - -private: - nsCOMPtr collection_; - unsigned int index_, length_; -}; - -#endif // !INC_LINKITERATOR_HPP