1999-04-24 06:38:54 +04:00
|
|
|
/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
|
|
|
*
|
1999-11-06 06:43:54 +03:00
|
|
|
* 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/
|
1999-04-24 06:38:54 +04:00
|
|
|
*
|
1999-11-06 06:43:54 +03:00
|
|
|
* 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.
|
1999-04-24 06:38:54 +04:00
|
|
|
*
|
1999-11-06 06:43:54 +03:00
|
|
|
* The Original Code is mozilla.org code.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is Netscape
|
1999-04-24 06:38:54 +04:00
|
|
|
* Communications Corporation. Portions created by Netscape are
|
1999-11-06 06:43:54 +03:00
|
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
* Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
1999-04-24 06:38:54 +04:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* Root idl declarations to be used by all. */
|
|
|
|
|
|
|
|
%{C++
|
1999-06-04 01:50:47 +04:00
|
|
|
|
1999-06-09 07:19:10 +04:00
|
|
|
#include "nscore.h"
|
1999-06-04 01:50:47 +04:00
|
|
|
#include "prtime.h"
|
|
|
|
|
1999-04-24 06:38:54 +04:00
|
|
|
/*
|
|
|
|
* Start commenting out the C++ versions of the below in the output header
|
|
|
|
*/
|
|
|
|
#if 0
|
|
|
|
%}
|
|
|
|
|
1999-05-07 04:17:58 +04:00
|
|
|
typedef boolean PRBool ;
|
1999-04-24 06:38:54 +04:00
|
|
|
typedef octet PRUint8 ;
|
|
|
|
typedef unsigned short PRUint16 ;
|
1999-08-04 10:53:48 +04:00
|
|
|
typedef unsigned short PRUnichar;
|
1999-04-24 06:38:54 +04:00
|
|
|
typedef unsigned long PRUint32 ;
|
|
|
|
typedef unsigned long long PRUint64 ;
|
1999-06-04 01:50:47 +04:00
|
|
|
typedef unsigned long long PRTime ;
|
1999-04-24 06:38:54 +04:00
|
|
|
typedef short PRInt16 ;
|
|
|
|
typedef long PRInt32 ;
|
|
|
|
typedef long long PRInt64 ;
|
|
|
|
|
|
|
|
typedef unsigned long nsrefcnt ;
|
1999-05-12 06:19:18 +04:00
|
|
|
typedef unsigned long nsresult ;
|
1999-04-24 06:38:54 +04:00
|
|
|
|
2000-06-03 11:12:22 +04:00
|
|
|
// XXX need this built into xpidl compiler so that it's really size_t or PRSize
|
|
|
|
// and it's scriptable:
|
|
|
|
typedef unsigned long size_t;
|
|
|
|
|
|
|
|
[ptr] native voidPtr(void);
|
|
|
|
[ptr] native charPtr(char);
|
1999-04-24 06:38:54 +04:00
|
|
|
|
|
|
|
[ref, nsid] native nsIDRef(nsID);
|
|
|
|
[ref, nsid] native nsIIDRef(nsIID);
|
|
|
|
[ref, nsid] native nsCIDRef(nsCID);
|
|
|
|
|
|
|
|
[ptr, nsid] native nsIDPtr(nsID);
|
|
|
|
[ptr, nsid] native nsIIDPtr(nsIID);
|
|
|
|
[ptr, nsid] native nsCIDPtr(nsCID);
|
|
|
|
|
|
|
|
[ptr] native nsQIResult(void);
|
|
|
|
|
2001-01-26 05:32:18 +03:00
|
|
|
[ref, domstring] native DOMString(ignored);
|
|
|
|
[ref, domstring] native DOMStringRef(ignored);
|
|
|
|
[ptr, domstring] native DOMStringPtr(ignored);
|
|
|
|
|
2001-04-05 16:25:09 +04:00
|
|
|
[ref, domstring] native AString(ignored);
|
|
|
|
[ref, domstring] native AStringRef(ignored);
|
|
|
|
[ptr, domstring] native AStringPtr(ignored);
|
|
|
|
|
1999-04-24 06:38:54 +04:00
|
|
|
%{C++
|
|
|
|
/*
|
|
|
|
* End commenting out the C++ versions of the above in the output header
|
|
|
|
*/
|
|
|
|
#endif
|
|
|
|
%}
|