~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/widget/public/nsIXRemoteWidgetHelper.h

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
2
/* vim:expandtab:shiftwidth=4:tabstop=4:
 
3
 */
 
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/
 
9
 * 
 
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.
 
14
 * 
 
15
 * The Original Code is mozilla.org code.
 
16
 * 
 
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.
 
20
 * 
 
21
 * Contributor(s):
 
22
 *   Christopher Blizzard <blizzard@mozilla.org>
 
23
 */
 
24
 
 
25
class nsIWidget;
 
26
 
 
27
// {9fe661fa-1dd1-11b2-bd72-ff439d2e8557}
 
28
 
 
29
#define NS_IXREMOTEWIDGETHELPER_IID \
 
30
  { 0x9fe661fa, 0x1dd1, 0x11b2, \
 
31
  { 0xbd, 0x72, 0xff, 0x43, 0x9d, 0x2e, 0x85, 0x57 } }
 
32
 
 
33
class nsIXRemoteWidgetHelper : public nsISupports {
 
34
 
 
35
 public:
 
36
  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IXREMOTEWIDGETHELPER_IID)
 
37
 
 
38
  NS_IMETHOD EnableXRemoteCommands(nsIWidget *aWidget,
 
39
                                   const char *aProfile,
 
40
                                   const char *aProgram) = 0;
 
41
 
 
42
};
 
43
 
 
44
#define NS_IXREMOTEWIDGETHELPER_CONTRACTID "@mozilla.org/widgets/xremotehelper;1"
 
45
#define NS_IXREMOTEWIDGETHELPER_CLASSNAME  "Mozilla XRemote Widget Helper Service"