<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Generated: Thu Nov 09 17:43:41 EST 2000 jfouffa.w3.org --> <html lang='en' xmlns="http://www.w3.org/1999/xhtml"> <head> <title>IDL Definitions</title> <link rel='stylesheet' type='text/css' href='./spec.css' /> <link rel='stylesheet' type='text/css' href='W3C-REC.css' /> <link rel='next' href='java-binding.html' /> <link rel='contents' href='Overview.html#contents' /> <link rel='index' href='def-index.html' /> <link rel='previous' href='views.html' /> </head> <body> <div class='navbar' align='center'><a accesskey='p' href='views.html'>previous</a> <a accesskey='n' href='java-binding.html'>next</a> <a accesskey='c' href='Overview.html#contents'>contents</a> <a accesskey='i' href='def-index.html'>index</a> <hr title='Navigation area separator' /> </div> <div class='noprint' style='text-align: right'> <p style='font-family: monospace;font-size:small'>13 November, 2000</p> </div> <div class='div1'><a id="idl" name='idl'></a> <h1 id='idl-h1' class='adiv1'>Appendix A: IDL Definitions</h1> <p>This appendix contains the complete OMG IDL [<a class='noxref' href='references.html#OMGIDL'>OMGIDL</a>] for the Level 2 Document Object Model Views definitions.</p> <p>The IDL files are also available as: <a href='idl.zip'>http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113/idl.zip</a></p> <h3 id='idl-views.idl'><a href='idl/views.idl'>views.idl</a>:</h3> <div class='idl-code'> <pre> // File: views.idl #ifndef _VIEWS_IDL_ #define _VIEWS_IDL_ #include "dom.idl" #pragma prefix "dom.w3c.org" module views { interface DocumentView; // Introduced in DOM Level 2: interface AbstractView { readonly attribute DocumentView document; }; // Introduced in DOM Level 2: interface DocumentView { readonly attribute AbstractView defaultView; }; }; #endif // _VIEWS_IDL_ </pre> </div> </div> <!-- div1 idl --> <div class='navbar' align='center'> <hr title='Navigation area separator' /> <a accesskey='p' href='views.html'>previous</a> <a accesskey='n' href='java-binding.html'>next</a> <a accesskey='c' href='Overview.html#contents'>contents</a> <a accesskey='i' href='def-index.html'>index</a></div> </body> </html>