/gecko_api/include/nsIDOMEventGroup.h
C++ Header | 98 lines | 48 code | 26 blank | 24 comment | 0 complexity | efc08642b682afbec03cf7a75d2d8f8f MD5 | raw file
1/* 2 * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/tinderbox/XR-Trunk/Darwin_8.8.4_Depend/mozilla/dom/public/idl/events/nsIDOMEventGroup.idl 3 */ 4 5#ifndef __gen_nsIDOMEventGroup_h__ 6#define __gen_nsIDOMEventGroup_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: nsIDOMEventGroup */ 19#define NS_IDOMEVENTGROUP_IID_STR "33347bee-6620-4841-8152-36091ae80c7e" 20 21#define NS_IDOMEVENTGROUP_IID \ 22 {0x33347bee, 0x6620, 0x4841, \ 23 { 0x81, 0x52, 0x36, 0x09, 0x1a, 0xe8, 0x0c, 0x7e }} 24 25class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMEventGroup : public nsISupports { 26 public: 27 28 NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMEVENTGROUP_IID) 29 30 /** 31 * The nsIDOMEventTarget interface is the interface implemented by all 32 * event targets in the Document Object Model. 33 * 34 * For more information on this interface please see 35 * http://www.w3.org/TR/DOM-Level-3-Events/ 36 */ 37 /* boolean isSameEventGroup (in nsIDOMEventGroup other); */ 38 NS_SCRIPTABLE NS_IMETHOD IsSameEventGroup(nsIDOMEventGroup *other, PRBool *_retval) = 0; 39 40}; 41 42 NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMEventGroup, NS_IDOMEVENTGROUP_IID) 43 44/* Use this macro when declaring classes that implement this interface. */ 45#define NS_DECL_NSIDOMEVENTGROUP \ 46 NS_SCRIPTABLE NS_IMETHOD IsSameEventGroup(nsIDOMEventGroup *other, PRBool *_retval); 47 48/* Use this macro to declare functions that forward the behavior of this interface to another object. */ 49#define NS_FORWARD_NSIDOMEVENTGROUP(_to) \ 50 NS_SCRIPTABLE NS_IMETHOD IsSameEventGroup(nsIDOMEventGroup *other, PRBool *_retval) { return _to IsSameEventGroup(other, _retval); } 51 52/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */ 53#define NS_FORWARD_SAFE_NSIDOMEVENTGROUP(_to) \ 54 NS_SCRIPTABLE NS_IMETHOD IsSameEventGroup(nsIDOMEventGroup *other, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsSameEventGroup(other, _retval); } 55 56#if 0 57/* Use the code below as a template for the implementation class for this interface. */ 58 59/* Header file */ 60class nsDOMEventGroup : public nsIDOMEventGroup 61{ 62public: 63 NS_DECL_ISUPPORTS 64 NS_DECL_NSIDOMEVENTGROUP 65 66 nsDOMEventGroup(); 67 68private: 69 ~nsDOMEventGroup(); 70 71protected: 72 /* additional members */ 73}; 74 75/* Implementation file */ 76NS_IMPL_ISUPPORTS1(nsDOMEventGroup, nsIDOMEventGroup) 77 78nsDOMEventGroup::nsDOMEventGroup() 79{ 80 /* member initializers and constructor code */ 81} 82 83nsDOMEventGroup::~nsDOMEventGroup() 84{ 85 /* destructor code */ 86} 87 88/* boolean isSameEventGroup (in nsIDOMEventGroup other); */ 89NS_IMETHODIMP nsDOMEventGroup::IsSameEventGroup(nsIDOMEventGroup *other, PRBool *_retval) 90{ 91 return NS_ERROR_NOT_IMPLEMENTED; 92} 93 94/* End of implementation class template. */ 95#endif 96 97 98#endif /* __gen_nsIDOMEventGroup_h__ */