Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 /* -*- Mode: IDL; tab-width: 2; 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/. */
6 #include "nsISupports.idl"
8 interface nsIArray;
9 interface nsIFile;
11 [scriptable, uuid(60b320d2-1dd2-11b2-bd73-dc3575f78ddd)]
12 interface nsIFileView : nsISupports
13 {
14 const short sortName = 0;
15 const short sortSize = 1;
16 const short sortDate = 2;
18 attribute boolean showHiddenFiles;
19 attribute boolean showOnlyDirectories;
20 readonly attribute short sortType;
21 readonly attribute boolean reverseSort;
23 void sort(in short sortType, in boolean reverseSort);
24 void setDirectory(in nsIFile directory);
25 void setFilter(in AString filterString);
27 readonly attribute nsIArray selectedFiles;
28 };
30 %{C++
32 #define NS_FILEVIEW_CONTRACTID "@mozilla.org/filepicker/fileview;1"
34 %}