LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMClipboardEvent.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/nsIDOMClipboardEvent.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMClipboardEvent_h__
       6             : #define __gen_nsIDOMClipboardEvent_h__
       7             : 
       8             : 
       9             : #ifndef __gen_domstubs_h__
      10             : #include "domstubs.h"
      11             : #endif
      12             : 
      13             : #ifndef __gen_nsISupports_h__
      14             : #include "nsISupports.h"
      15             : #endif
      16             : 
      17             : /* For IDL files that don't want to include root IDL files. */
      18             : #ifndef NS_NO_VTABLE
      19             : #define NS_NO_VTABLE
      20             : #endif
      21             : class nsIDOMDataTransfer; /* forward declaration */
      22             : 
      23             : 
      24             : /* starting interface:    nsIDOMClipboardEvent */
      25             : #define NS_IDOMCLIPBOARDEVENT_IID_STR "b54d6144-3980-4895-83c7-82f158bc1cf5"
      26             : 
      27             : #define NS_IDOMCLIPBOARDEVENT_IID \
      28             :   {0xb54d6144, 0x3980, 0x4895, \
      29             :     { 0x83, 0xc7, 0x82, 0xf1, 0x58, 0xbc, 0x1c, 0xf5 }}
      30             : 
      31           0 : class NS_NO_VTABLE nsIDOMClipboardEvent : public nsISupports {
      32             :  public:
      33             : 
      34             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMCLIPBOARDEVENT_IID)
      35             : 
      36             :   /* readonly attribute nsIDOMDataTransfer clipboardData; */
      37             :   NS_IMETHOD GetClipboardData(nsIDOMDataTransfer * *aClipboardData) = 0;
      38             : 
      39             :   /* [noscript] void initClipboardEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in nsIDOMDataTransfer clipboardData); */
      40             :   NS_IMETHOD InitClipboardEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMDataTransfer *clipboardData) = 0;
      41             : 
      42             : };
      43             : 
      44             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMClipboardEvent, NS_IDOMCLIPBOARDEVENT_IID)
      45             : 
      46             : /* Use this macro when declaring classes that implement this interface. */
      47             : #define NS_DECL_NSIDOMCLIPBOARDEVENT \
      48             :   NS_IMETHOD GetClipboardData(nsIDOMDataTransfer * *aClipboardData) override; \
      49             :   NS_IMETHOD InitClipboardEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMDataTransfer *clipboardData) override; 
      50             : 
      51             : /* Use this macro when declaring the members of this interface when the
      52             :    class doesn't implement the interface. This is useful for forwarding. */
      53             : #define NS_DECL_NON_VIRTUAL_NSIDOMCLIPBOARDEVENT \
      54             :   nsresult GetClipboardData(nsIDOMDataTransfer * *aClipboardData); \
      55             :   nsresult InitClipboardEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMDataTransfer *clipboardData); 
      56             : 
      57             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      58             : #define NS_FORWARD_NSIDOMCLIPBOARDEVENT(_to) \
      59             :   NS_IMETHOD GetClipboardData(nsIDOMDataTransfer * *aClipboardData) override { return _to GetClipboardData(aClipboardData); } \
      60             :   NS_IMETHOD InitClipboardEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMDataTransfer *clipboardData) override { return _to InitClipboardEvent(typeArg, canBubbleArg, cancelableArg, clipboardData); } 
      61             : 
      62             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      63             : #define NS_FORWARD_SAFE_NSIDOMCLIPBOARDEVENT(_to) \
      64             :   NS_IMETHOD GetClipboardData(nsIDOMDataTransfer * *aClipboardData) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetClipboardData(aClipboardData); } \
      65             :   NS_IMETHOD InitClipboardEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMDataTransfer *clipboardData) override { return !_to ? NS_ERROR_NULL_POINTER : _to->InitClipboardEvent(typeArg, canBubbleArg, cancelableArg, clipboardData); } 
      66             : 
      67             : #if 0
      68             : /* Use the code below as a template for the implementation class for this interface. */
      69             : 
      70             : /* Header file */
      71             : class nsDOMClipboardEvent : public nsIDOMClipboardEvent
      72             : {
      73             : public:
      74             :   NS_DECL_ISUPPORTS
      75             :   NS_DECL_NSIDOMCLIPBOARDEVENT
      76             : 
      77             :   nsDOMClipboardEvent();
      78             : 
      79             : private:
      80             :   ~nsDOMClipboardEvent();
      81             : 
      82             : protected:
      83             :   /* additional members */
      84             : };
      85             : 
      86             : /* Implementation file */
      87             : NS_IMPL_ISUPPORTS(nsDOMClipboardEvent, nsIDOMClipboardEvent)
      88             : 
      89             : nsDOMClipboardEvent::nsDOMClipboardEvent()
      90             : {
      91             :   /* member initializers and constructor code */
      92             : }
      93             : 
      94             : nsDOMClipboardEvent::~nsDOMClipboardEvent()
      95             : {
      96             :   /* destructor code */
      97             : }
      98             : 
      99             : /* readonly attribute nsIDOMDataTransfer clipboardData; */
     100             : NS_IMETHODIMP nsDOMClipboardEvent::GetClipboardData(nsIDOMDataTransfer * *aClipboardData)
     101             : {
     102             :     return NS_ERROR_NOT_IMPLEMENTED;
     103             : }
     104             : 
     105             : /* [noscript] void initClipboardEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in nsIDOMDataTransfer clipboardData); */
     106             : NS_IMETHODIMP nsDOMClipboardEvent::InitClipboardEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMDataTransfer *clipboardData)
     107             : {
     108             :     return NS_ERROR_NOT_IMPLEMENTED;
     109             : }
     110             : 
     111             : /* End of implementation class template. */
     112             : #endif
     113             : 
     114             : 
     115             : #endif /* __gen_nsIDOMClipboardEvent_h__ */

Generated by: LCOV version 1.13