OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/builds/tinderbox/XR-Mozilla1.8.0
-Release/WINNT_5.2_Depend/mozilla/dom/public/idl/views/nsIDOMAbstractView.idl |
| 3 */ |
| 4 |
| 5 #ifndef __gen_nsIDOMAbstractView_h__ |
| 6 #define __gen_nsIDOMAbstractView_h__ |
| 7 |
| 8 |
| 9 #ifndef __gen_domstubs_h__ |
| 10 #include "domstubs.h" |
| 11 #endif |
| 12 |
| 13 /* For IDL files that don't want to include root IDL files. */ |
| 14 #ifndef NS_NO_VTABLE |
| 15 #define NS_NO_VTABLE |
| 16 #endif |
| 17 |
| 18 /* starting interface: nsIDOMAbstractView */ |
| 19 #define NS_IDOMABSTRACTVIEW_IID_STR "f51ebade-8b1a-11d3-aae7-0010830123b4" |
| 20 |
| 21 #define NS_IDOMABSTRACTVIEW_IID \ |
| 22 {0xf51ebade, 0x8b1a, 0x11d3, \ |
| 23 { 0xaa, 0xe7, 0x00, 0x10, 0x83, 0x01, 0x23, 0xb4 }} |
| 24 |
| 25 class NS_NO_VTABLE nsIDOMAbstractView : public nsISupports { |
| 26 public: |
| 27 |
| 28 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMABSTRACTVIEW_IID) |
| 29 |
| 30 /** |
| 31 * The nsIDOMAbstractView interface is a datatype for a view in the |
| 32 * Document Object Model. |
| 33 * |
| 34 * For more information on this interface please see |
| 35 * http://www.w3.org/TR/DOM-Level-2-Views |
| 36 * |
| 37 * @status FROZEN |
| 38 */ |
| 39 /* readonly attribute nsIDOMDocumentView document; */ |
| 40 NS_IMETHOD GetDocument(nsIDOMDocumentView * *aDocument) = 0; |
| 41 |
| 42 }; |
| 43 |
| 44 /* Use this macro when declaring classes that implement this interface. */ |
| 45 #define NS_DECL_NSIDOMABSTRACTVIEW \ |
| 46 NS_IMETHOD GetDocument(nsIDOMDocumentView * *aDocument); |
| 47 |
| 48 /* Use this macro to declare functions that forward the behavior of this interfa
ce to another object. */ |
| 49 #define NS_FORWARD_NSIDOMABSTRACTVIEW(_to) \ |
| 50 NS_IMETHOD GetDocument(nsIDOMDocumentView * *aDocument) { return _to GetDocume
nt(aDocument); } |
| 51 |
| 52 /* Use this macro to declare functions that forward the behavior of this interfa
ce to another object in a safe way. */ |
| 53 #define NS_FORWARD_SAFE_NSIDOMABSTRACTVIEW(_to) \ |
| 54 NS_IMETHOD GetDocument(nsIDOMDocumentView * *aDocument) { return !_to ? NS_ERR
OR_NULL_POINTER : _to->GetDocument(aDocument); } |
| 55 |
| 56 #if 0 |
| 57 /* Use the code below as a template for the implementation class for this interf
ace. */ |
| 58 |
| 59 /* Header file */ |
| 60 class nsDOMAbstractView : public nsIDOMAbstractView |
| 61 { |
| 62 public: |
| 63 NS_DECL_ISUPPORTS |
| 64 NS_DECL_NSIDOMABSTRACTVIEW |
| 65 |
| 66 nsDOMAbstractView(); |
| 67 |
| 68 private: |
| 69 ~nsDOMAbstractView(); |
| 70 |
| 71 protected: |
| 72 /* additional members */ |
| 73 }; |
| 74 |
| 75 /* Implementation file */ |
| 76 NS_IMPL_ISUPPORTS1(nsDOMAbstractView, nsIDOMAbstractView) |
| 77 |
| 78 nsDOMAbstractView::nsDOMAbstractView() |
| 79 { |
| 80 /* member initializers and constructor code */ |
| 81 } |
| 82 |
| 83 nsDOMAbstractView::~nsDOMAbstractView() |
| 84 { |
| 85 /* destructor code */ |
| 86 } |
| 87 |
| 88 /* readonly attribute nsIDOMDocumentView document; */ |
| 89 NS_IMETHODIMP nsDOMAbstractView::GetDocument(nsIDOMDocumentView * *aDocument) |
| 90 { |
| 91 return NS_ERROR_NOT_IMPLEMENTED; |
| 92 } |
| 93 |
| 94 /* End of implementation class template. */ |
| 95 #endif |
| 96 |
| 97 |
| 98 #endif /* __gen_nsIDOMAbstractView_h__ */ |
OLD | NEW |