2016-06-07 01:55:16 +03:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
dictionary FileSystemFlags {
|
|
|
|
boolean create = false;
|
|
|
|
boolean exclusive = false;
|
|
|
|
};
|
|
|
|
|
2016-08-18 10:19:15 +03:00
|
|
|
callback interface FileSystemEntryCallback {
|
2016-08-18 10:17:25 +03:00
|
|
|
void handleEvent(FileSystemEntry entry);
|
2016-06-07 01:55:16 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
callback interface VoidCallback {
|
|
|
|
void handleEvent();
|
|
|
|
};
|
|
|
|
|
|
|
|
callback interface ErrorCallback {
|
2016-11-03 09:56:28 +03:00
|
|
|
void handleEvent(DOMException err);
|
2016-06-07 01:55:16 +03:00
|
|
|
};
|
|
|
|
|
2016-08-18 10:17:02 +03:00
|
|
|
interface FileSystem {
|
2016-11-03 09:55:17 +03:00
|
|
|
readonly attribute USVString name;
|
2016-08-18 10:18:05 +03:00
|
|
|
readonly attribute FileSystemDirectoryEntry root;
|
2016-06-07 01:55:16 +03:00
|
|
|
};
|