Bug 1861709 replace AudioCallbackDriver::ThreadRunning() assertions that mean to...
[gecko.git] / netwerk / streamconv / nsIDirIndex.idl
blob0029ee401588b85eca8b0bcef69b88e9f770f4f4
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/. */
6 #include "nsISupports.idl"
8 /** A class holding information about a directory index.
9 * These have no reference back to their original source -
10 * changing these attributes won't affect the directory
12 [scriptable, uuid(23bbabd0-1dd2-11b2-86b7-aad68ae7d7e0)]
13 interface nsIDirIndex : nsISupports
15 /**
16 * Entry's type is unknown
18 const unsigned long TYPE_UNKNOWN = 0;
20 /**
21 * Entry is a directory
23 const unsigned long TYPE_DIRECTORY = 1;
25 /**
26 * Entry is a file
28 const unsigned long TYPE_FILE = 2;
30 /**
31 * Entry is a symlink
33 const unsigned long TYPE_SYMLINK = 3;
35 /**
36 * The type of the entry - one of the constants above
38 attribute unsigned long type;
40 /**
41 * The content type - may be null if it is unknown.
42 * Unspecified for directories
44 attribute ACString contentType;
46 /**
47 * The fully qualified filename, expressed as a uri
49 * This is encoded with the encoding specified in
50 * the nsIDirIndexParser, and is also escaped.
52 attribute ACString location;
54 /**
55 * A description for the filename, which should be
56 * displayed by a viewer
58 attribute AString description;
60 /**
61 * File size, with -1 meaning "unknown"
63 attribute long long size;
65 /**
66 * Last-modified time in seconds-since-epoch.
67 * -1 means unknown - this is valid, because there were no
68 * ftp servers in 1969
70 attribute PRTime lastModified;