/src/mozilla-central/netwerk/streamconv/converters/nsDirIndex.h
Line | Count | Source (jump to first uncovered line) |
1 | | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
2 | | /* This Source Code Form is subject to the terms of the Mozilla Public |
3 | | * License, v. 2.0. If a copy of the MPL was not distributed with this |
4 | | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
5 | | |
6 | | #ifndef nsDirIndex_h__ |
7 | | #define nsDirIndex_h__ |
8 | | |
9 | | #include "nsIDirIndex.h" |
10 | | #include "nsString.h" |
11 | | #include "mozilla/Attributes.h" |
12 | | |
13 | | class nsDirIndex final : public nsIDirIndex { |
14 | | |
15 | | private: |
16 | 0 | ~nsDirIndex() = default; |
17 | | |
18 | | public: |
19 | | nsDirIndex(); |
20 | | |
21 | | NS_DECL_ISUPPORTS |
22 | | NS_DECL_NSIDIRINDEX |
23 | | |
24 | | protected: |
25 | | uint32_t mType; |
26 | | nsCString mContentType; |
27 | | nsCString mLocation; |
28 | | nsString mDescription; |
29 | | int64_t mSize; |
30 | | PRTime mLastModified; |
31 | | }; |
32 | | |
33 | | #endif |