1999-06-03 08:36:19 +04:00
|
|
|
/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
|
|
|
*
|
1999-11-06 06:40:37 +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-06-03 08:36:19 +04:00
|
|
|
*
|
1999-11-06 06:40:37 +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-06-03 08:36:19 +04:00
|
|
|
*
|
1999-11-06 06:40:37 +03:00
|
|
|
* The Original Code is mozilla.org code.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is Netscape
|
1999-06-03 08:36:19 +04:00
|
|
|
* Communications Corporation. Portions created by Netscape are
|
1999-11-06 06:40:37 +03:00
|
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
* Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
1999-06-03 08:36:19 +04:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* DOM stubs so that we can pass DOM objects across XPConnect */
|
|
|
|
|
|
|
|
%{C++
|
|
|
|
/* C++ should ignore this file because there are real DOM interfaces
|
|
|
|
elsewhere, so if 0 it out
|
|
|
|
*/
|
|
|
|
#if 0
|
|
|
|
%}
|
|
|
|
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
|
|
|
|
/* put your DOM stub interfaces here */
|
|
|
|
/* if you have XUL element stubs, put them in
|
|
|
|
* mozilla/rdf/public/xulstubs.idl
|
|
|
|
*/
|
|
|
|
|
|
|
|
[scriptable, uuid(a6cf907c-15b3-11d2-932e-00805f8add32)]
|
|
|
|
interface nsIDOMNode : nsISupports {};
|
|
|
|
|
|
|
|
[scriptable, uuid(a6cf9078-15b3-11d2-932e-00805f8add32)]
|
|
|
|
interface nsIDOMElement : nsIDOMNode {};
|
|
|
|
|
1999-06-07 11:16:01 +04:00
|
|
|
[scriptable, uuid(a6cf9075-15b3-11d2-932e-00805f8add32)]
|
|
|
|
interface nsIDOMDocument : nsIDOMNode {};
|
|
|
|
|
|
|
|
[scriptable, uuid(a6cf907d-15b3-11d2-932e-00805f8add32)]
|
|
|
|
interface nsIDOMNodeList : nsISupports {};
|
|
|
|
|
|
|
|
[scriptable, uuid(a6cf906e-15b3-11d2-932e-00805f8add32)]
|
|
|
|
interface nsIDOMNavigator : nsISupports {};
|
|
|
|
|
|
|
|
[scriptable, uuid(77947960-b4af-11d2-bd93-00805f8ae3f4)]
|
|
|
|
interface nsIDOMScreen : nsISupports {};
|
|
|
|
|
|
|
|
[scriptable, uuid(896d1d20-b4c4-11d2-bd93-00805f8ae3f4)]
|
|
|
|
interface nsIDOMHistory : nsISupports {};
|
|
|
|
|
1999-06-09 23:04:18 +04:00
|
|
|
[scriptable, uuid(9eb2c150-1d56-11d3-8221-0060083a0bcf)]
|
|
|
|
interface nsIDOMBarProp : nsISupports {};
|
|
|
|
|
1999-06-07 11:16:01 +04:00
|
|
|
[scriptable, uuid(a6cf906f-15b3-11d2-932e-00805f8add32)]
|
|
|
|
interface nsIDOMWindowCollection : nsISupports {};
|
|
|
|
|
|
|
|
[scriptable, uuid(a6cf906b-15b3-11d2-932e-00805f8add32)]
|
1999-06-16 06:06:48 +04:00
|
|
|
interface nsIDOMWindow : nsISupports {};
|
1999-06-03 08:36:19 +04:00
|
|
|
|
1999-06-11 22:57:54 +04:00
|
|
|
[scriptable, uuid(a6cf9076-15b3-11d2-932e-00805f8add32)]
|
|
|
|
interface nsIDOMDocumentFragment : nsIDOMNode {};
|
|
|
|
|
|
|
|
/* Range and selection */
|
|
|
|
|
|
|
|
[scriptable, uuid(a6cf90ce-15b3-11d2-932e-00805f8add32)]
|
|
|
|
interface nsIDOMRange : nsISupports {};
|
|
|
|
|
|
|
|
[scriptable, uuid(a6cf90e1-15b3-11d2-932e-00805f8add32)]
|
|
|
|
interface nsIDOMSelection : nsISupports {};
|
|
|
|
|
|
|
|
[scriptable, uuid(a6cf90e2-15b3-11d2-932e-00805f8add32)]
|
|
|
|
interface nsIDOMSelectionListener : nsISupports {};
|
|
|
|
|
|
|
|
|
1999-06-03 08:36:19 +04:00
|
|
|
%{C++
|
1999-09-02 05:07:55 +04:00
|
|
|
#else
|
|
|
|
// Instead, simply forward declare all the classes "defined"
|
|
|
|
// herein. These declarations satisfy the references to
|
|
|
|
// these classes contained in xpidl-generated .h files that
|
|
|
|
// come from .idl files that #include this one.
|
|
|
|
class nsIDOMNode;
|
|
|
|
class nsIDOMElement;
|
|
|
|
class nsIDOMDocument;
|
|
|
|
class nsIDOMNodeList;
|
|
|
|
class nsIDOMNavigator;
|
|
|
|
class nsIDOMScreen;
|
|
|
|
class nsIDOMHistory;
|
|
|
|
class nsIDOMBarProp;
|
|
|
|
class nsIDOMWindowCollection;
|
|
|
|
class nsIDOMWindow;
|
|
|
|
class nsIDOMDocumentFragment;
|
|
|
|
class nsIDOMRange;
|
|
|
|
class nsIDOMSelection;
|
|
|
|
class nsIDOMSelectionListener;
|
1999-06-03 08:36:19 +04:00
|
|
|
#endif
|
|
|
|
%}
|