1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/* vim:expandtab:shiftwidth=4:tabstop=4:
5
* The contents of this file are subject to the Mozilla Public
6
* License Version 1.1 (the "License"); you may not use this file
7
* except in compliance with the License. You may obtain a copy of
8
* the License at http://www.mozilla.org/MPL/
10
* Software distributed under the License is distributed on an "AS
11
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
12
* implied. See the License for the specific language governing
13
* rights and limitations under the License.
15
* The Original Code is mozilla.org code.
17
* The Initial Developer of the Original Code is Christopher Blizzard.
18
* Portions created by Christopher Blizzard are Copyright (C)
19
* Christopher Blizzard. All Rights Reserved.
22
* Christopher Blizzard <blizzard@mozilla.org>
27
// {9fe661fa-1dd1-11b2-bd72-ff439d2e8557}
29
#define NS_IXREMOTEWIDGETHELPER_IID \
30
{ 0x9fe661fa, 0x1dd1, 0x11b2, \
31
{ 0xbd, 0x72, 0xff, 0x43, 0x9d, 0x2e, 0x85, 0x57 } }
33
class nsIXRemoteWidgetHelper : public nsISupports {
36
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IXREMOTEWIDGETHELPER_IID)
38
NS_IMETHOD EnableXRemoteCommands(nsIWidget *aWidget,
40
const char *aProgram) = 0;
44
#define NS_IXREMOTEWIDGETHELPER_CONTRACTID "@mozilla.org/widgets/xremotehelper;1"
45
#define NS_IXREMOTEWIDGETHELPER_CLASSNAME "Mozilla XRemote Widget Helper Service"