michael@0: /* -*- Mode: IDL; tab-width: 4; 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: /** michael@0: * The mother of all xpcom interfaces. michael@0: */ michael@0: michael@0: /* In order to get both the right typelib and the right header we force michael@0: * the 'real' output from xpidl to be commented out in the generated header michael@0: * and includes a copy of the original nsISupports.h. This is all just to deal michael@0: * with the Mac specific ": public __comobject" thing. michael@0: */ michael@0: michael@0: #include "nsrootidl.idl" michael@0: michael@0: %{C++ michael@0: /* michael@0: * Start commenting out the C++ versions of the below in the output header michael@0: */ michael@0: #if 0 michael@0: %} michael@0: michael@0: [scriptable, uuid(00000000-0000-0000-c000-000000000046)] michael@0: interface nsISupports { michael@0: void QueryInterface(in nsIIDRef uuid, michael@0: [iid_is(uuid),retval] out nsQIResult result); michael@0: [noscript, notxpcom] nsrefcnt AddRef(); michael@0: [noscript, notxpcom] nsrefcnt Release(); michael@0: }; michael@0: michael@0: %{C++ michael@0: /* michael@0: * End commenting out the C++ versions of the above in the output header michael@0: */ michael@0: #endif michael@0: %} michael@0: michael@0: michael@0: %{C++ michael@0: #include "nsISupportsBase.h" michael@0: #include "nsISupportsUtils.h" michael@0: %}