michael@0: /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: /* The nsIInterfaceInfoManager public declaration. */ michael@0: michael@0: michael@0: #include "nsISupports.idl" michael@0: michael@0: interface nsIInterfaceInfo; michael@0: interface nsIEnumerator; michael@0: michael@0: /* this is NOT intended to be scriptable */ michael@0: [uuid(1d53d8d9-1d92-428f-b5cc-198b55e897d7)] michael@0: interface nsIInterfaceInfoManager : nsISupports michael@0: { michael@0: nsIInterfaceInfo getInfoForIID(in nsIIDPtr iid); michael@0: nsIInterfaceInfo getInfoForName(in string name); michael@0: michael@0: nsIIDPtr getIIDForName(in string name); michael@0: string getNameForIID(in nsIIDPtr iid); michael@0: michael@0: void autoRegisterInterfaces(); michael@0: michael@0: nsIEnumerator enumerateInterfacesWhoseNamesStartWith(in string prefix); michael@0: }; michael@0: michael@0: %{C++ michael@0: #define NS_INTERFACEINFOMANAGER_SERVICE_CID \ michael@0: { /* 13bef784-f8e0-4f96-85c1-09f9ef4f9a19 */ \ michael@0: 0x13bef784, 0xf8e0, 0x4f96, \ michael@0: {0x85, 0xc1, 0x09, 0xf9, 0xef, 0x4f, 0x9a, 0x19} } michael@0: michael@0: #define NS_INTERFACEINFOMANAGER_SERVICE_CONTRACTID \ michael@0: "@mozilla.org/xpti/interfaceinfomanager-service;1" michael@0: %} michael@0: