storage/public/mozIStorageCompletionCallback.idl

Wed, 31 Dec 2014 06:55:46 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:46 +0100
changeset 1
ca08bd8f51b2
permissions
-rw-r--r--

Added tag TORBROWSER_REPLICA for changeset 6474c204b198

     1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
     2   vim: sw=2 ts=2 et lcs=trail\:.,tab\:>~ :
     3  * This Source Code Form is subject to the terms of the Mozilla Public
     4  * License, v. 2.0. If a copy of the MPL was not distributed with this
     5  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     7 #include "nsISupports.idl"
     9 [scriptable, function, uuid(8cbf2dc2-91e0-44bc-984f-553638412071)]
    10 interface mozIStorageCompletionCallback : nsISupports {
    11   /**
    12    * Indicates that the event this callback was passed in for has completed.
    13    *
    14    * @param status
    15    *        The status of the call. Generally NS_OK if the operation
    16    *        completed successfully.
    17    * @param value
    18    *        If the operation produces a result, the result. Otherwise,
    19    *        |null|.
    20    *
    21    * @see The calling method for expected values.
    22    */
    23   void complete(in nsresult status, [optional] in nsISupports value);
    24 };

mercurial