LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMCommandEvent.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/nsIDOMCommandEvent.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMCommandEvent_h__
       6             : #define __gen_nsIDOMCommandEvent_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.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:    nsIDOMCommandEvent */
      19             : #define NS_IDOMCOMMANDEVENT_IID_STR "73a50e55-3eaa-4a38-a588-9b68a6d65032"
      20             : 
      21             : #define NS_IDOMCOMMANDEVENT_IID \
      22             :   {0x73a50e55, 0x3eaa, 0x4a38, \
      23             :     { 0xa5, 0x88, 0x9b, 0x68, 0xa6, 0xd6, 0x50, 0x32 }}
      24             : 
      25           0 : class NS_NO_VTABLE nsIDOMCommandEvent : public nsISupports {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMCOMMANDEVENT_IID)
      29             : 
      30             :   /* readonly attribute DOMString command; */
      31             :   NS_IMETHOD GetCommand(nsAString & aCommand) = 0;
      32             : 
      33             :   /* void initCommandEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean canCancelArg, in DOMString command); */
      34             :   NS_IMETHOD InitCommandEvent(const nsAString & typeArg, bool canBubbleArg, bool canCancelArg, const nsAString & command) = 0;
      35             : 
      36             : };
      37             : 
      38             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMCommandEvent, NS_IDOMCOMMANDEVENT_IID)
      39             : 
      40             : /* Use this macro when declaring classes that implement this interface. */
      41             : #define NS_DECL_NSIDOMCOMMANDEVENT \
      42             :   NS_IMETHOD GetCommand(nsAString & aCommand) override; \
      43             :   NS_IMETHOD InitCommandEvent(const nsAString & typeArg, bool canBubbleArg, bool canCancelArg, const nsAString & command) override; 
      44             : 
      45             : /* Use this macro when declaring the members of this interface when the
      46             :    class doesn't implement the interface. This is useful for forwarding. */
      47             : #define NS_DECL_NON_VIRTUAL_NSIDOMCOMMANDEVENT \
      48             :   nsresult GetCommand(nsAString & aCommand); \
      49             :   nsresult InitCommandEvent(const nsAString & typeArg, bool canBubbleArg, bool canCancelArg, const nsAString & command); 
      50             : 
      51             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      52             : #define NS_FORWARD_NSIDOMCOMMANDEVENT(_to) \
      53             :   NS_IMETHOD GetCommand(nsAString & aCommand) override { return _to GetCommand(aCommand); } \
      54             :   NS_IMETHOD InitCommandEvent(const nsAString & typeArg, bool canBubbleArg, bool canCancelArg, const nsAString & command) override { return _to InitCommandEvent(typeArg, canBubbleArg, canCancelArg, command); } 
      55             : 
      56             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      57             : #define NS_FORWARD_SAFE_NSIDOMCOMMANDEVENT(_to) \
      58             :   NS_IMETHOD GetCommand(nsAString & aCommand) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCommand(aCommand); } \
      59             :   NS_IMETHOD InitCommandEvent(const nsAString & typeArg, bool canBubbleArg, bool canCancelArg, const nsAString & command) override { return !_to ? NS_ERROR_NULL_POINTER : _to->InitCommandEvent(typeArg, canBubbleArg, canCancelArg, command); } 
      60             : 
      61             : #if 0
      62             : /* Use the code below as a template for the implementation class for this interface. */
      63             : 
      64             : /* Header file */
      65             : class nsDOMCommandEvent : public nsIDOMCommandEvent
      66             : {
      67             : public:
      68             :   NS_DECL_ISUPPORTS
      69             :   NS_DECL_NSIDOMCOMMANDEVENT
      70             : 
      71             :   nsDOMCommandEvent();
      72             : 
      73             : private:
      74             :   ~nsDOMCommandEvent();
      75             : 
      76             : protected:
      77             :   /* additional members */
      78             : };
      79             : 
      80             : /* Implementation file */
      81             : NS_IMPL_ISUPPORTS(nsDOMCommandEvent, nsIDOMCommandEvent)
      82             : 
      83             : nsDOMCommandEvent::nsDOMCommandEvent()
      84             : {
      85             :   /* member initializers and constructor code */
      86             : }
      87             : 
      88             : nsDOMCommandEvent::~nsDOMCommandEvent()
      89             : {
      90             :   /* destructor code */
      91             : }
      92             : 
      93             : /* readonly attribute DOMString command; */
      94             : NS_IMETHODIMP nsDOMCommandEvent::GetCommand(nsAString & aCommand)
      95             : {
      96             :     return NS_ERROR_NOT_IMPLEMENTED;
      97             : }
      98             : 
      99             : /* void initCommandEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean canCancelArg, in DOMString command); */
     100             : NS_IMETHODIMP nsDOMCommandEvent::InitCommandEvent(const nsAString & typeArg, bool canBubbleArg, bool canCancelArg, const nsAString & command)
     101             : {
     102             :     return NS_ERROR_NOT_IMPLEMENTED;
     103             : }
     104             : 
     105             : /* End of implementation class template. */
     106             : #endif
     107             : 
     108             : 
     109             : #endif /* __gen_nsIDOMCommandEvent_h__ */

Generated by: LCOV version 1.13