mozIInterruptible.idl (588B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 #include "nsISupports.idl" 6 7 // Interrupts all pending operations on a data store, if possible. This is 8 // provided as a separate interface because the store may want to hide this 9 // implementation from callers, as interrupting a write can cause data loss. 10 [scriptable, uuid(1c06bfd3-76b1-46fa-a64a-db682d478374)] 11 interface mozIInterruptible : nsISupports { 12 void interrupt(); 13 };