2001-09-26 02:58:40 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* 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/. */
|
2000-08-02 15:14:57 +04:00
|
|
|
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
|
2016-01-30 20:05:36 +03:00
|
|
|
interface mozIDOMWindowProxy;
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 21:42:36 +04:00
|
|
|
|
2016-01-30 20:05:36 +03:00
|
|
|
[scriptable, uuid(08aed3cc-69f7-47ba-a110-f2efa8a6d7ea)]
|
2000-08-02 15:14:57 +04:00
|
|
|
interface nsICommandHandlerInit : nsISupports
|
|
|
|
{
|
2016-01-30 20:05:36 +03:00
|
|
|
attribute mozIDOMWindowProxy window;
|
2000-08-02 15:14:57 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
[scriptable, uuid(34A4FCF0-66FC-11d4-9528-0020183BF181)]
|
|
|
|
interface nsICommandHandler : nsISupports
|
|
|
|
{
|
2000-08-25 22:39:46 +04:00
|
|
|
/*
|
|
|
|
* Execute the specified command with the specified parameters and return
|
|
|
|
* the result to the caller. The format of the command, parameters and
|
|
|
|
* the result are determined by the acutal implementation.
|
|
|
|
*/
|
|
|
|
string exec(in string aCommand, in string aParameters);
|
|
|
|
/*
|
|
|
|
* Query the status of the specified command with the specified parameters
|
|
|
|
* and return the result to the caller. The format of the command,
|
|
|
|
* parameters and the result are determined by the implementation.
|
|
|
|
*/
|
|
|
|
string query(in string aCommand, in string aParameters);
|
2000-08-02 15:14:57 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
%{ C++
|
|
|
|
// {3A449110-66FD-11d4-9528-0020183BF181} -
|
|
|
|
#define NS_COMMANDHANDLER_CID \
|
|
|
|
{ 0x3a449110, 0x66fd, 0x11d4, { 0x95, 0x28, 0x0, 0x20, 0x18, 0x3b, 0xf1, 0x81 } }
|
2000-09-14 03:57:52 +04:00
|
|
|
#define NS_COMMANDHANDLER_CONTRACTID \
|
|
|
|
"@mozilla.org/embedding/browser/nsCommandHandler;1"
|
2000-08-02 15:14:57 +04:00
|
|
|
%}
|
2000-08-16 12:54:49 +04:00
|
|
|
|