michael@0: /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef nsEnumeratorUtils_h__ michael@0: #define nsEnumeratorUtils_h__ michael@0: michael@0: #include "nscore.h" michael@0: michael@0: class nsISupports; michael@0: class nsISimpleEnumerator; michael@0: michael@0: NS_COM_GLUE nsresult michael@0: NS_NewEmptyEnumerator(nsISimpleEnumerator* *aResult); michael@0: michael@0: NS_COM_GLUE nsresult michael@0: NS_NewSingletonEnumerator(nsISimpleEnumerator* *result, michael@0: nsISupports* singleton); michael@0: michael@0: NS_COM_GLUE nsresult michael@0: NS_NewUnionEnumerator(nsISimpleEnumerator* *result, michael@0: nsISimpleEnumerator* firstEnumerator, michael@0: nsISimpleEnumerator* secondEnumerator); michael@0: michael@0: #endif /* nsEnumeratorUtils_h__ */