nsDirIndex.h (731B)
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 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 12 class nsDirIndex final : public nsIDirIndex { 13 private: 14 ~nsDirIndex() = default; 15 16 public: 17 nsDirIndex() = default; 18 19 NS_DECL_ISUPPORTS 20 NS_DECL_NSIDIRINDEX 21 22 protected: 23 uint32_t mType{TYPE_UNKNOWN}; 24 nsCString mContentType; 25 nsCString mLocation; 26 nsString mDescription; 27 int64_t mSize{INT64_MAX}; 28 PRTime mLastModified{-1LL}; 29 }; 30 31 #endif