/src/mozilla-central/xpcom/ds/nsSimpleEnumerator.h
Line | Count | Source (jump to first uncovered line) |
1 | | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
2 | | /* vim: set ts=8 sts=2 et sw=2 tw=80: */ |
3 | | /* This Source Code Form is subject to the terms of the Mozilla Public |
4 | | * License, v. 2.0. If a copy of the MPL was not distributed with this |
5 | | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
6 | | |
7 | | #ifndef nsSimpleEnumerator_h |
8 | | #define nsSimpleEnumerator_h |
9 | | |
10 | | #include "nsISimpleEnumerator.h" |
11 | | |
12 | | class nsSimpleEnumerator : public nsISimpleEnumerator |
13 | | { |
14 | | NS_DECL_ISUPPORTS |
15 | | NS_DECL_NSISIMPLEENUMERATORBASE |
16 | | |
17 | 0 | virtual const nsID& DefaultInterface() { return NS_GET_IID(nsISupports); } |
18 | | |
19 | | protected: |
20 | 9 | virtual ~nsSimpleEnumerator() = default; |
21 | | }; |
22 | | |
23 | | #endif |