Blame storage/mozIStoragePendingStatement.idl

Packit f0b94e
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
Packit f0b94e
 * vim: sw=2 ts=2 sts=2 expandtab 
Packit f0b94e
 * This Source Code Form is subject to the terms of the Mozilla Public
Packit f0b94e
 * License, v. 2.0. If a copy of the MPL was not distributed with this
Packit f0b94e
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
Packit f0b94e
Packit f0b94e
#include "nsISupports.idl"
Packit f0b94e
Packit f0b94e
[scriptable, uuid(00da7d20-3768-4398-bedc-e310c324b3f0)]
Packit f0b94e
interface mozIStoragePendingStatement : nsISupports {
Packit f0b94e
Packit f0b94e
  /**
Packit f0b94e
   * Cancels a pending statement, if possible.  This will only fail if you try
Packit f0b94e
   * cancel more than once.
Packit f0b94e
   *
Packit f0b94e
   * @note For read statements (such as SELECT), you will no longer receive any
Packit f0b94e
   *       notifications about results once cancel is called.
Packit f0b94e
   */
Packit f0b94e
   void cancel();
Packit f0b94e
};