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 #include "nsIDirIndex.h" 7 #include "nsString.h" 8 #include "mozilla/Attributes.h" 9 10 /* CID: {f6913e2e-1dd1-11b2-84be-f455dee342af} */ 11 12 class nsDirIndex final : public nsIDirIndex { 13 14 private: 15 ~nsDirIndex(); 16 17 public: 18 nsDirIndex(); 19 20 NS_DECL_ISUPPORTS 21 NS_DECL_NSIDIRINDEX 22 23 protected: 24 uint32_t mType; 25 nsXPIDLCString mContentType; 26 nsXPIDLCString mLocation; 27 nsString mDescription; 28 int64_t mSize; 29 PRTime mLastModified; 30 }; 31