@@ -13,10 +13,25 @@ * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #import "OFObject.h" + +@class OFEnumerator; + +/** + * \brief A protocol for getting an enumerator for the object. + */ +@protocol OFEnumerating +/** + * \brief Returns an OFEnumerator to enumerate through all objects of the + * collection. + * + * \returns An OFEnumerator to enumerate through all objects of the collection + */ +- (OFEnumerator*)objectEnumerator; +@end /** * \brief A class which provides methods to enumerate through collections. */ @interface OFEnumerator: OFObject