/* 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 nsIDOMMozActivityOptions;
interface nsIDOMWindow;

/**
  * Implemented by @mozilla.org/dom/activities/proxy;1
  */
[scriptable, uuid(c7a258f7-26a6-46c6-a887-a6c936034f98)]
interface nsIActivityProxy : nsISupports
{
    void startActivity(in nsISupports /* MozActivity */ activity,
                       in nsIDOMMozActivityOptions options,
                       in nsIDOMWindow window);
    void cleanup();
};
