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/nsIDOMDocumentView.idl |
| 3 */ |
| 4 |
| 5 #ifndef __gen_nsIDOMDocumentView_h__ |
| 6 #define __gen_nsIDOMDocumentView_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: nsIDOMDocumentView */ |
| 19 #define NS_IDOMDOCUMENTVIEW_IID_STR "1acdb2ba-1dd2-11b2-95bc-9542495d2569" |
| 20 |
| 21 #define NS_IDOMDOCUMENTVIEW_IID \ |
| 22 {0x1acdb2ba, 0x1dd2, 0x11b2, \ |
| 23 { 0x95, 0xbc, 0x95, 0x42, 0x49, 0x5d, 0x25, 0x69 }} |
| 24 |
| 25 class NS_NO_VTABLE nsIDOMDocumentView : public nsISupports { |
| 26 public: |
| 27 |
| 28 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMDOCUMENTVIEW_IID) |
| 29 |
| 30 /** |
| 31 * The nsIDOMDocumentView interface is a datatype for a document that |
| 32 * supports views in the 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 nsIDOMAbstractView defaultView; */ |
| 40 NS_IMETHOD GetDefaultView(nsIDOMAbstractView * *aDefaultView) = 0; |
| 41 |
| 42 }; |
| 43 |
| 44 /* Use this macro when declaring classes that implement this interface. */ |
| 45 #define NS_DECL_NSIDOMDOCUMENTVIEW \ |
| 46 NS_IMETHOD GetDefaultView(nsIDOMAbstractView * *aDefaultView); |
| 47 |
| 48 /* Use this macro to declare functions that forward the behavior of this interfa
ce to another object. */ |
| 49 #define NS_FORWARD_NSIDOMDOCUMENTVIEW(_to) \ |
| 50 NS_IMETHOD GetDefaultView(nsIDOMAbstractView * *aDefaultView) { return _to Get
DefaultView(aDefaultView); } |
| 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_NSIDOMDOCUMENTVIEW(_to) \ |
| 54 NS_IMETHOD GetDefaultView(nsIDOMAbstractView * *aDefaultView) { return !_to ?
NS_ERROR_NULL_POINTER : _to->GetDefaultView(aDefaultView); } |
| 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 nsDOMDocumentView : public nsIDOMDocumentView |
| 61 { |
| 62 public: |
| 63 NS_DECL_ISUPPORTS |
| 64 NS_DECL_NSIDOMDOCUMENTVIEW |
| 65 |
| 66 nsDOMDocumentView(); |
| 67 |
| 68 private: |
| 69 ~nsDOMDocumentView(); |
| 70 |
| 71 protected: |
| 72 /* additional members */ |
| 73 }; |
| 74 |
| 75 /* Implementation file */ |
| 76 NS_IMPL_ISUPPORTS1(nsDOMDocumentView, nsIDOMDocumentView) |
| 77 |
| 78 nsDOMDocumentView::nsDOMDocumentView() |
| 79 { |
| 80 /* member initializers and constructor code */ |
| 81 } |
| 82 |
| 83 nsDOMDocumentView::~nsDOMDocumentView() |
| 84 { |
| 85 /* destructor code */ |
| 86 } |
| 87 |
| 88 /* readonly attribute nsIDOMAbstractView defaultView; */ |
| 89 NS_IMETHODIMP nsDOMDocumentView::GetDefaultView(nsIDOMAbstractView * *aDefaultVi
ew) |
| 90 { |
| 91 return NS_ERROR_NOT_IMPLEMENTED; |
| 92 } |
| 93 |
| 94 /* End of implementation class template. */ |
| 95 #endif |
| 96 |
| 97 |
| 98 #endif /* __gen_nsIDOMDocumentView_h__ */ |
OLD | NEW |