LCOV - app.info - objdir/dist/include/nsIDOMNSEvent.h

LCOV - code coverage report
| Current view: | directory - objdir/dist/include - nsIDOMNSEvent.h (source / functions) |  | Found | Hit | Coverage |
| Test: | app.info | Lines: | 1 | 1 | 100.0 %
| Date: | 2012-06-02 | Functions: | 1 | 1 | 100.0 %

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/events/nsIDOMNSEvent.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIDOMNSEvent_h__
           6                 : #define __gen_nsIDOMNSEvent_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                 : #ifdef ERROR
          18                 : #undef ERROR
          19                 : #endif
          20                 :
          21                 : /* starting interface:    nsIDOMNSEvent */
          22                 : #define NS_IDOMNSEVENT_IID_STR "07f905c1-9170-4103-86ca-766374da149a"
          23                 :
          24                 : #define NS_IDOMNSEVENT_IID \
          25                 :   {0x07f905c1, 0x9170, 0x4103, \
          26                 :     { 0x86, 0xca, 0x76, 0x63, 0x74, 0xda, 0x14, 0x9a }}
          27                 :
          28           16935 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMNSEvent : public nsISupports {
          29                 :  public:
          30                 :
          31                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMNSEVENT_IID)
          32                 :
          33                 :   enum {
          34                 :     MOUSEDOWN = 1,
          35                 :     MOUSEUP = 2,
          36                 :     MOUSEOVER = 4,
          37                 :     MOUSEOUT = 8,
          38                 :     MOUSEMOVE = 16,
          39                 :     MOUSEDRAG = 32,
          40                 :     CLICK = 64,
          41                 :     DBLCLICK = 128,
          42                 :     KEYDOWN = 256,
          43                 :     KEYUP = 512,
          44                 :     KEYPRESS = 1024,
          45                 :     DRAGDROP = 2048,
          46                 :     FOCUS = 4096,
          47                 :     BLUR = 8192,
          48                 :     SELECT = 16384,
          49                 :     CHANGE = 32768,
          50                 :     RESET = 65536,
          51                 :     SUBMIT = 131072,
          52                 :     SCROLL = 262144,
          53                 :     LOAD = 524288,
          54                 :     UNLOAD = 1048576,
          55                 :     XFER_DONE = 2097152,
          56                 :     ABORT = 4194304,
          57                 :     ERROR = 8388608,
          58                 :     LOCATE = 16777216,
          59                 :     MOVE = 33554432,
          60                 :     RESIZE = 67108864,
          61                 :     FORWARD = 134217728,
          62                 :     HELP = 268435456,
          63                 :     BACK = 536870912,
          64                 :     TEXT = 1073741824,
          65                 :     ALT_MASK = 1,
          66                 :     CONTROL_MASK = 2,
          67                 :     SHIFT_MASK = 4,
          68                 :     META_MASK = 8
          69                 :   };
          70                 :
          71                 :   /* readonly attribute nsIDOMEventTarget originalTarget; */
          72                 :   NS_SCRIPTABLE NS_IMETHOD GetOriginalTarget(nsIDOMEventTarget * *aOriginalTarget) = 0;
          73                 :
          74                 :   /* readonly attribute nsIDOMEventTarget explicitOriginalTarget; */
          75                 :   NS_SCRIPTABLE NS_IMETHOD GetExplicitOriginalTarget(nsIDOMEventTarget * *aExplicitOriginalTarget) = 0;
          76                 :
          77                 :   /* void preventBubble (); */
          78                 :   NS_SCRIPTABLE NS_IMETHOD PreventBubble(void) = 0;
          79                 :
          80                 :   /* void preventCapture (); */
          81                 :   NS_SCRIPTABLE NS_IMETHOD PreventCapture(void) = 0;
          82                 :
          83                 :   /* boolean getPreventDefault (); */
          84                 :   NS_SCRIPTABLE NS_IMETHOD GetPreventDefault(bool *_retval NS_OUTPARAM) = 0;
          85                 :
          86                 :   /* readonly attribute boolean isTrusted; */
          87                 :   NS_SCRIPTABLE NS_IMETHOD GetIsTrusted(bool *aIsTrusted) = 0;
          88                 :
          89                 : };
          90                 :
          91                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMNSEvent, NS_IDOMNSEVENT_IID)
          92                 :
          93                 : /* Use this macro when declaring classes that implement this interface. */
          94                 : #define NS_DECL_NSIDOMNSEVENT \
          95                 :   NS_SCRIPTABLE NS_IMETHOD GetOriginalTarget(nsIDOMEventTarget * *aOriginalTarget); \
          96                 :   NS_SCRIPTABLE NS_IMETHOD GetExplicitOriginalTarget(nsIDOMEventTarget * *aExplicitOriginalTarget); \
          97                 :   NS_SCRIPTABLE NS_IMETHOD PreventBubble(void); \
          98                 :   NS_SCRIPTABLE NS_IMETHOD PreventCapture(void); \
          99                 :   NS_SCRIPTABLE NS_IMETHOD GetPreventDefault(bool *_retval NS_OUTPARAM); \
         100                 :   NS_SCRIPTABLE NS_IMETHOD GetIsTrusted(bool *aIsTrusted);
         101                 :
         102                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
         103                 : #define NS_FORWARD_NSIDOMNSEVENT(_to) \
         104                 :   NS_SCRIPTABLE NS_IMETHOD GetOriginalTarget(nsIDOMEventTarget * *aOriginalTarget) { return _to GetOriginalTarget(aOriginalTarget); } \
         105                 :   NS_SCRIPTABLE NS_IMETHOD GetExplicitOriginalTarget(nsIDOMEventTarget * *aExplicitOriginalTarget) { return _to GetExplicitOriginalTarget(aExplicitOriginalTarget); } \
         106                 :   NS_SCRIPTABLE NS_IMETHOD PreventBubble(void) { return _to PreventBubble(); } \
         107                 :   NS_SCRIPTABLE NS_IMETHOD PreventCapture(void) { return _to PreventCapture(); } \
         108                 :   NS_SCRIPTABLE NS_IMETHOD GetPreventDefault(bool *_retval NS_OUTPARAM) { return _to GetPreventDefault(_retval); } \
         109                 :   NS_SCRIPTABLE NS_IMETHOD GetIsTrusted(bool *aIsTrusted) { return _to GetIsTrusted(aIsTrusted); }
         110                 :
         111                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
         112                 : #define NS_FORWARD_SAFE_NSIDOMNSEVENT(_to) \
         113                 :   NS_SCRIPTABLE NS_IMETHOD GetOriginalTarget(nsIDOMEventTarget * *aOriginalTarget) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOriginalTarget(aOriginalTarget); } \
         114                 :   NS_SCRIPTABLE NS_IMETHOD GetExplicitOriginalTarget(nsIDOMEventTarget * *aExplicitOriginalTarget) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetExplicitOriginalTarget(aExplicitOriginalTarget); } \
         115                 :   NS_SCRIPTABLE NS_IMETHOD PreventBubble(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->PreventBubble(); } \
         116                 :   NS_SCRIPTABLE NS_IMETHOD PreventCapture(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->PreventCapture(); } \
         117                 :   NS_SCRIPTABLE NS_IMETHOD GetPreventDefault(bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPreventDefault(_retval); } \
         118                 :   NS_SCRIPTABLE NS_IMETHOD GetIsTrusted(bool *aIsTrusted) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsTrusted(aIsTrusted); }
         119                 :
         120                 : #if 0
         121                 : /* Use the code below as a template for the implementation class for this interface. */
         122                 :
         123                 : /* Header file */
         124                 : class nsDOMNSEvent : public nsIDOMNSEvent
         125                 : {
         126                 : public:
         127                 :   NS_DECL_ISUPPORTS
         128                 :   NS_DECL_NSIDOMNSEVENT
         129                 :
         130                 :   nsDOMNSEvent();
         131                 :
         132                 : private:
         133                 :   ~nsDOMNSEvent();
         134                 :
         135                 : protected:
         136                 :   /* additional members */
         137                 : };
         138                 :
         139                 : /* Implementation file */
         140                 : NS_IMPL_ISUPPORTS1(nsDOMNSEvent, nsIDOMNSEvent)
         141                 :
         142                 : nsDOMNSEvent::nsDOMNSEvent()
         143                 : {
         144                 :   /* member initializers and constructor code */
         145                 : }
         146                 :
         147                 : nsDOMNSEvent::~nsDOMNSEvent()
         148                 : {
         149                 :   /* destructor code */
         150                 : }
         151                 :
         152                 : /* readonly attribute nsIDOMEventTarget originalTarget; */
         153                 : NS_IMETHODIMP nsDOMNSEvent::GetOriginalTarget(nsIDOMEventTarget * *aOriginalTarget)
         154                 : {
         155                 :     return NS_ERROR_NOT_IMPLEMENTED;
         156                 : }
         157                 :
         158                 : /* readonly attribute nsIDOMEventTarget explicitOriginalTarget; */
         159                 : NS_IMETHODIMP nsDOMNSEvent::GetExplicitOriginalTarget(nsIDOMEventTarget * *aExplicitOriginalTarget)
         160                 : {
         161                 :     return NS_ERROR_NOT_IMPLEMENTED;
         162                 : }
         163                 :
         164                 : /* void preventBubble (); */
         165                 : NS_IMETHODIMP nsDOMNSEvent::PreventBubble()
         166                 : {
         167                 :     return NS_ERROR_NOT_IMPLEMENTED;
         168                 : }
         169                 :
         170                 : /* void preventCapture (); */
         171                 : NS_IMETHODIMP nsDOMNSEvent::PreventCapture()
         172                 : {
         173                 :     return NS_ERROR_NOT_IMPLEMENTED;
         174                 : }
         175                 :
         176                 : /* boolean getPreventDefault (); */
         177                 : NS_IMETHODIMP nsDOMNSEvent::GetPreventDefault(bool *_retval NS_OUTPARAM)
         178                 : {
         179                 :     return NS_ERROR_NOT_IMPLEMENTED;
         180                 : }
         181                 :
         182                 : /* readonly attribute boolean isTrusted; */
         183                 : NS_IMETHODIMP nsDOMNSEvent::GetIsTrusted(bool *aIsTrusted)
         184                 : {
         185                 :     return NS_ERROR_NOT_IMPLEMENTED;
         186                 : }
         187                 :
         188                 : /* End of implementation class template. */
         189                 : #endif
         190                 :
         191                 :
         192                 : #endif /* __gen_nsIDOMNSEvent_h__ */

Generated by: LCOV version 1.7