2001-09-29 00:14:13 +04:00
|
|
|
/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2001-09-27 07:43:00 +04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The mother of all xpcom interfaces.
|
|
|
|
*/
|
1999-05-07 04:17:58 +04:00
|
|
|
|
|
|
|
/* In order to get both the right typelib and the right header we force
|
2002-02-01 00:45:04 +03:00
|
|
|
* the 'real' output from xpidl to be commented out in the generated header
|
1999-10-18 06:54:26 +04:00
|
|
|
* and includes a copy of the original nsISupports.h. This is all just to deal
|
1999-05-07 04:17:58 +04:00
|
|
|
* with the Mac specific ": public __comobject" thing.
|
|
|
|
*/
|
|
|
|
|
1999-04-24 06:38:54 +04:00
|
|
|
#include "nsrootidl.idl"
|
|
|
|
|
1999-02-20 06:11:52 +03:00
|
|
|
%{C++
|
1999-05-07 04:17:58 +04:00
|
|
|
/*
|
|
|
|
* Start commenting out the C++ versions of the below in the output header
|
|
|
|
*/
|
|
|
|
#if 0
|
1999-02-20 06:11:52 +03:00
|
|
|
%}
|
|
|
|
|
1999-04-24 06:38:54 +04:00
|
|
|
[scriptable, uuid(00000000-0000-0000-c000-000000000046)]
|
1999-02-19 05:04:21 +03:00
|
|
|
interface nsISupports {
|
1999-04-24 06:38:54 +04:00
|
|
|
void QueryInterface(in nsIIDRef uuid,
|
|
|
|
[iid_is(uuid),retval] out nsQIResult result);
|
|
|
|
[noscript, notxpcom] nsrefcnt AddRef();
|
|
|
|
[noscript, notxpcom] nsrefcnt Release();
|
1999-02-19 05:04:21 +03:00
|
|
|
};
|
1999-05-07 04:17:58 +04:00
|
|
|
|
|
|
|
%{C++
|
|
|
|
/*
|
|
|
|
* End commenting out the C++ versions of the above in the output header
|
|
|
|
*/
|
|
|
|
#endif
|
|
|
|
%}
|
|
|
|
|
|
|
|
|
|
|
|
%{C++
|
2001-09-27 07:43:00 +04:00
|
|
|
#include "nsISupportsBase.h"
|
1999-05-07 04:17:58 +04:00
|
|
|
#include "nsISupportsUtils.h"
|
|
|
|
%}
|