xpcom/reflect/xptinfo/public/nsIInterfaceInfoManager.idl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xpcom/reflect/xptinfo/public/nsIInterfaceInfoManager.idl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,38 @@
     1.4 +/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
     1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.8 +
     1.9 +/* The nsIInterfaceInfoManager public declaration. */
    1.10 +
    1.11 +
    1.12 +#include "nsISupports.idl"
    1.13 +
    1.14 +interface nsIInterfaceInfo;
    1.15 +interface nsIEnumerator;
    1.16 +
    1.17 +/* this is NOT intended to be scriptable */
    1.18 +[uuid(1d53d8d9-1d92-428f-b5cc-198b55e897d7)]
    1.19 +interface nsIInterfaceInfoManager : nsISupports
    1.20 +{
    1.21 +    nsIInterfaceInfo getInfoForIID(in nsIIDPtr iid);
    1.22 +    nsIInterfaceInfo getInfoForName(in string name);
    1.23 +
    1.24 +    nsIIDPtr getIIDForName(in string name);
    1.25 +    string   getNameForIID(in nsIIDPtr iid);
    1.26 +
    1.27 +    void autoRegisterInterfaces();
    1.28 +
    1.29 +    nsIEnumerator enumerateInterfacesWhoseNamesStartWith(in string prefix);
    1.30 +};
    1.31 +
    1.32 +%{C++
    1.33 +#define NS_INTERFACEINFOMANAGER_SERVICE_CID            \
    1.34 + { /* 13bef784-f8e0-4f96-85c1-09f9ef4f9a19 */          \
    1.35 +  0x13bef784, 0xf8e0, 0x4f96,                          \
    1.36 +  {0x85, 0xc1, 0x09, 0xf9, 0xef, 0x4f, 0x9a, 0x19} }  
    1.37 +
    1.38 +#define NS_INTERFACEINFOMANAGER_SERVICE_CONTRACTID  \
    1.39 +   "@mozilla.org/xpti/interfaceinfomanager-service;1"
    1.40 +%}
    1.41 +

mercurial