/* 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/. */

#include "nsISupports.idl"

interface mozIDOMWindow;

/**
  * Implemented by @mozilla.org/dom/activities/proxy;1
  */
[scriptable, uuid(87653623-d864-4b03-8874-96808b8cdb81)]
interface nsIActivityProxy : nsISupports
{
    void startActivity(in nsISupports /* MozActivity */ activity,
                       in jsval options,
                       in mozIDOMWindow window,
                       in unsigned long long childID);
    void cleanup();
};
