LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMXULCommandEvent.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMXULCommandEvent.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMXULCommandEvent_h__
       6             : #define __gen_nsIDOMXULCommandEvent_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsIDOMUIEvent_h__
      10             : #include "nsIDOMUIEvent.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:    nsIDOMXULCommandEvent */
      19             : #define NS_IDOMXULCOMMANDEVENT_IID_STR "564496b4-1174-48ec-927d-edeb66b86757"
      20             : 
      21             : #define NS_IDOMXULCOMMANDEVENT_IID \
      22             :   {0x564496b4, 0x1174, 0x48ec, \
      23             :     { 0x92, 0x7d, 0xed, 0xeb, 0x66, 0xb8, 0x67, 0x57 }}
      24             : 
      25           0 : class NS_NO_VTABLE nsIDOMXULCommandEvent : public nsIDOMUIEvent {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMXULCOMMANDEVENT_IID)
      29             : 
      30             :   /* readonly attribute boolean ctrlKey; */
      31             :   NS_IMETHOD GetCtrlKey(bool *aCtrlKey) = 0;
      32             : 
      33             :   /* readonly attribute boolean shiftKey; */
      34             :   NS_IMETHOD GetShiftKey(bool *aShiftKey) = 0;
      35             : 
      36             :   /* readonly attribute boolean altKey; */
      37             :   NS_IMETHOD GetAltKey(bool *aAltKey) = 0;
      38             : 
      39             :   /* readonly attribute boolean metaKey; */
      40             :   NS_IMETHOD GetMetaKey(bool *aMetaKey) = 0;
      41             : 
      42             :   /* readonly attribute nsIDOMEvent sourceEvent; */
      43             :   NS_IMETHOD GetSourceEvent(nsIDOMEvent * *aSourceEvent) = 0;
      44             : 
      45             :   /* void initCommandEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in mozIDOMWindow viewArg, in long detailArg, in boolean ctrlKeyArg, in boolean altKeyArg, in boolean shiftKeyArg, in boolean metaKeyArg, in nsIDOMEvent sourceEvent); */
      46             :   NS_IMETHOD InitCommandEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, mozIDOMWindow *viewArg, int32_t detailArg, bool ctrlKeyArg, bool altKeyArg, bool shiftKeyArg, bool metaKeyArg, nsIDOMEvent *sourceEvent) = 0;
      47             : 
      48             : };
      49             : 
      50             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMXULCommandEvent, NS_IDOMXULCOMMANDEVENT_IID)
      51             : 
      52             : /* Use this macro when declaring classes that implement this interface. */
      53             : #define NS_DECL_NSIDOMXULCOMMANDEVENT \
      54             :   NS_IMETHOD GetCtrlKey(bool *aCtrlKey) override; \
      55             :   NS_IMETHOD GetShiftKey(bool *aShiftKey) override; \
      56             :   NS_IMETHOD GetAltKey(bool *aAltKey) override; \
      57             :   NS_IMETHOD GetMetaKey(bool *aMetaKey) override; \
      58             :   NS_IMETHOD GetSourceEvent(nsIDOMEvent * *aSourceEvent) override; \
      59             :   NS_IMETHOD InitCommandEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, mozIDOMWindow *viewArg, int32_t detailArg, bool ctrlKeyArg, bool altKeyArg, bool shiftKeyArg, bool metaKeyArg, nsIDOMEvent *sourceEvent) override; 
      60             : 
      61             : /* Use this macro when declaring the members of this interface when the
      62             :    class doesn't implement the interface. This is useful for forwarding. */
      63             : #define NS_DECL_NON_VIRTUAL_NSIDOMXULCOMMANDEVENT \
      64             :   nsresult GetCtrlKey(bool *aCtrlKey); \
      65             :   nsresult GetShiftKey(bool *aShiftKey); \
      66             :   nsresult GetAltKey(bool *aAltKey); \
      67             :   nsresult GetMetaKey(bool *aMetaKey); \
      68             :   nsresult GetSourceEvent(nsIDOMEvent * *aSourceEvent); \
      69             :   nsresult InitCommandEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, mozIDOMWindow *viewArg, int32_t detailArg, bool ctrlKeyArg, bool altKeyArg, bool shiftKeyArg, bool metaKeyArg, nsIDOMEvent *sourceEvent); 
      70             : 
      71             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      72             : #define NS_FORWARD_NSIDOMXULCOMMANDEVENT(_to) \
      73             :   NS_IMETHOD GetCtrlKey(bool *aCtrlKey) override { return _to GetCtrlKey(aCtrlKey); } \
      74             :   NS_IMETHOD GetShiftKey(bool *aShiftKey) override { return _to GetShiftKey(aShiftKey); } \
      75             :   NS_IMETHOD GetAltKey(bool *aAltKey) override { return _to GetAltKey(aAltKey); } \
      76             :   NS_IMETHOD GetMetaKey(bool *aMetaKey) override { return _to GetMetaKey(aMetaKey); } \
      77             :   NS_IMETHOD GetSourceEvent(nsIDOMEvent * *aSourceEvent) override { return _to GetSourceEvent(aSourceEvent); } \
      78             :   NS_IMETHOD InitCommandEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, mozIDOMWindow *viewArg, int32_t detailArg, bool ctrlKeyArg, bool altKeyArg, bool shiftKeyArg, bool metaKeyArg, nsIDOMEvent *sourceEvent) override { return _to InitCommandEvent(typeArg, canBubbleArg, cancelableArg, viewArg, detailArg, ctrlKeyArg, altKeyArg, shiftKeyArg, metaKeyArg, sourceEvent); } 
      79             : 
      80             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      81             : #define NS_FORWARD_SAFE_NSIDOMXULCOMMANDEVENT(_to) \
      82             :   NS_IMETHOD GetCtrlKey(bool *aCtrlKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCtrlKey(aCtrlKey); } \
      83             :   NS_IMETHOD GetShiftKey(bool *aShiftKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShiftKey(aShiftKey); } \
      84             :   NS_IMETHOD GetAltKey(bool *aAltKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAltKey(aAltKey); } \
      85             :   NS_IMETHOD GetMetaKey(bool *aMetaKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMetaKey(aMetaKey); } \
      86             :   NS_IMETHOD GetSourceEvent(nsIDOMEvent * *aSourceEvent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSourceEvent(aSourceEvent); } \
      87             :   NS_IMETHOD InitCommandEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, mozIDOMWindow *viewArg, int32_t detailArg, bool ctrlKeyArg, bool altKeyArg, bool shiftKeyArg, bool metaKeyArg, nsIDOMEvent *sourceEvent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->InitCommandEvent(typeArg, canBubbleArg, cancelableArg, viewArg, detailArg, ctrlKeyArg, altKeyArg, shiftKeyArg, metaKeyArg, sourceEvent); } 
      88             : 
      89             : #if 0
      90             : /* Use the code below as a template for the implementation class for this interface. */
      91             : 
      92             : /* Header file */
      93             : class nsDOMXULCommandEvent : public nsIDOMXULCommandEvent
      94             : {
      95             : public:
      96             :   NS_DECL_ISUPPORTS
      97             :   NS_DECL_NSIDOMXULCOMMANDEVENT
      98             : 
      99             :   nsDOMXULCommandEvent();
     100             : 
     101             : private:
     102             :   ~nsDOMXULCommandEvent();
     103             : 
     104             : protected:
     105             :   /* additional members */
     106             : };
     107             : 
     108             : /* Implementation file */
     109             : NS_IMPL_ISUPPORTS(nsDOMXULCommandEvent, nsIDOMXULCommandEvent)
     110             : 
     111             : nsDOMXULCommandEvent::nsDOMXULCommandEvent()
     112             : {
     113             :   /* member initializers and constructor code */
     114             : }
     115             : 
     116             : nsDOMXULCommandEvent::~nsDOMXULCommandEvent()
     117             : {
     118             :   /* destructor code */
     119             : }
     120             : 
     121             : /* readonly attribute boolean ctrlKey; */
     122             : NS_IMETHODIMP nsDOMXULCommandEvent::GetCtrlKey(bool *aCtrlKey)
     123             : {
     124             :     return NS_ERROR_NOT_IMPLEMENTED;
     125             : }
     126             : 
     127             : /* readonly attribute boolean shiftKey; */
     128             : NS_IMETHODIMP nsDOMXULCommandEvent::GetShiftKey(bool *aShiftKey)
     129             : {
     130             :     return NS_ERROR_NOT_IMPLEMENTED;
     131             : }
     132             : 
     133             : /* readonly attribute boolean altKey; */
     134             : NS_IMETHODIMP nsDOMXULCommandEvent::GetAltKey(bool *aAltKey)
     135             : {
     136             :     return NS_ERROR_NOT_IMPLEMENTED;
     137             : }
     138             : 
     139             : /* readonly attribute boolean metaKey; */
     140             : NS_IMETHODIMP nsDOMXULCommandEvent::GetMetaKey(bool *aMetaKey)
     141             : {
     142             :     return NS_ERROR_NOT_IMPLEMENTED;
     143             : }
     144             : 
     145             : /* readonly attribute nsIDOMEvent sourceEvent; */
     146             : NS_IMETHODIMP nsDOMXULCommandEvent::GetSourceEvent(nsIDOMEvent * *aSourceEvent)
     147             : {
     148             :     return NS_ERROR_NOT_IMPLEMENTED;
     149             : }
     150             : 
     151             : /* void initCommandEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in mozIDOMWindow viewArg, in long detailArg, in boolean ctrlKeyArg, in boolean altKeyArg, in boolean shiftKeyArg, in boolean metaKeyArg, in nsIDOMEvent sourceEvent); */
     152             : NS_IMETHODIMP nsDOMXULCommandEvent::InitCommandEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, mozIDOMWindow *viewArg, int32_t detailArg, bool ctrlKeyArg, bool altKeyArg, bool shiftKeyArg, bool metaKeyArg, nsIDOMEvent *sourceEvent)
     153             : {
     154             :     return NS_ERROR_NOT_IMPLEMENTED;
     155             : }
     156             : 
     157             : /* End of implementation class template. */
     158             : #endif
     159             : 
     160             : 
     161             : #endif /* __gen_nsIDOMXULCommandEvent_h__ */

Generated by: LCOV version 1.13