mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
Removed nsICapabilities.idl -- subsumed by nsIInterfaceRequestor.idl
This commit is contained in:
parent
6070918134
commit
4e2588b525
@ -1,41 +0,0 @@
|
||||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/*
|
||||
* The contents of this file are subject to the Netscape Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is Mozilla Communicator client code,
|
||||
* released March 31, 1998.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape Communications
|
||||
* Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
*/
|
||||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
/**
|
||||
* This interface provides a means to access "capabilities" of an object
|
||||
* via an IID. The QueryCapability method differs from QueryInterface in
|
||||
* that the returned object need not be another interface on the current
|
||||
* object, nor does it need to be reflexive with respect to QueryCapability,
|
||||
* i.e. if you can get from A to B via QueryCapability, you can't necessarily
|
||||
* get from B to A.
|
||||
*/
|
||||
[scriptable, uuid(764336d6-9bcd-11d3-8cd9-0060b0fc14a3)]
|
||||
interface nsICapabilities : nsISupports
|
||||
{
|
||||
void QueryCapability(in nsIIDRef uuid,
|
||||
[iid_is(uuid), retval] out nsQIResult result);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user