LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMModalContentWindow.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/nsIDOMModalContentWindow.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMModalContentWindow_h__
       6             : #define __gen_nsIDOMModalContentWindow_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             : class nsIVariant; /* forward declaration */
      18             : 
      19             : class nsIArray; /* forward declaration */
      20             : 
      21             : 
      22             : /* starting interface:    nsIDOMModalContentWindow */
      23             : #define NS_IDOMMODALCONTENTWINDOW_IID_STR "3f4cb2d0-5f7e-44a9-9f4f-370945f8db08"
      24             : 
      25             : #define NS_IDOMMODALCONTENTWINDOW_IID \
      26             :   {0x3f4cb2d0, 0x5f7e, 0x44a9, \
      27             :     { 0x9f, 0x4f, 0x37, 0x09, 0x45, 0xf8, 0xdb, 0x08 }}
      28             : 
      29           0 : class NS_NO_VTABLE nsIDOMModalContentWindow : public nsISupports {
      30             :  public:
      31             : 
      32             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMMODALCONTENTWINDOW_IID)
      33             : 
      34             :   /* readonly attribute nsIVariant dialogArguments; */
      35             :   NS_IMETHOD GetDialogArguments(nsIVariant * *aDialogArguments) = 0;
      36             : 
      37             :   /* attribute nsIVariant returnValue; */
      38             :   NS_IMETHOD GetReturnValue(nsIVariant * *aReturnValue) = 0;
      39             :   NS_IMETHOD SetReturnValue(nsIVariant *aReturnValue) = 0;
      40             : 
      41             : };
      42             : 
      43             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMModalContentWindow, NS_IDOMMODALCONTENTWINDOW_IID)
      44             : 
      45             : /* Use this macro when declaring classes that implement this interface. */
      46             : #define NS_DECL_NSIDOMMODALCONTENTWINDOW \
      47             :   NS_IMETHOD GetDialogArguments(nsIVariant * *aDialogArguments) override; \
      48             :   NS_IMETHOD GetReturnValue(nsIVariant * *aReturnValue) override; \
      49             :   NS_IMETHOD SetReturnValue(nsIVariant *aReturnValue) 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_NSIDOMMODALCONTENTWINDOW \
      54             :   nsresult GetDialogArguments(nsIVariant * *aDialogArguments); \
      55             :   nsresult GetReturnValue(nsIVariant * *aReturnValue); \
      56             :   nsresult SetReturnValue(nsIVariant *aReturnValue); 
      57             : 
      58             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      59             : #define NS_FORWARD_NSIDOMMODALCONTENTWINDOW(_to) \
      60             :   NS_IMETHOD GetDialogArguments(nsIVariant * *aDialogArguments) override { return _to GetDialogArguments(aDialogArguments); } \
      61             :   NS_IMETHOD GetReturnValue(nsIVariant * *aReturnValue) override { return _to GetReturnValue(aReturnValue); } \
      62             :   NS_IMETHOD SetReturnValue(nsIVariant *aReturnValue) override { return _to SetReturnValue(aReturnValue); } 
      63             : 
      64             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      65             : #define NS_FORWARD_SAFE_NSIDOMMODALCONTENTWINDOW(_to) \
      66             :   NS_IMETHOD GetDialogArguments(nsIVariant * *aDialogArguments) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDialogArguments(aDialogArguments); } \
      67             :   NS_IMETHOD GetReturnValue(nsIVariant * *aReturnValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReturnValue(aReturnValue); } \
      68             :   NS_IMETHOD SetReturnValue(nsIVariant *aReturnValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetReturnValue(aReturnValue); } 
      69             : 
      70             : #if 0
      71             : /* Use the code below as a template for the implementation class for this interface. */
      72             : 
      73             : /* Header file */
      74             : class nsDOMModalContentWindow : public nsIDOMModalContentWindow
      75             : {
      76             : public:
      77             :   NS_DECL_ISUPPORTS
      78             :   NS_DECL_NSIDOMMODALCONTENTWINDOW
      79             : 
      80             :   nsDOMModalContentWindow();
      81             : 
      82             : private:
      83             :   ~nsDOMModalContentWindow();
      84             : 
      85             : protected:
      86             :   /* additional members */
      87             : };
      88             : 
      89             : /* Implementation file */
      90             : NS_IMPL_ISUPPORTS(nsDOMModalContentWindow, nsIDOMModalContentWindow)
      91             : 
      92             : nsDOMModalContentWindow::nsDOMModalContentWindow()
      93             : {
      94             :   /* member initializers and constructor code */
      95             : }
      96             : 
      97             : nsDOMModalContentWindow::~nsDOMModalContentWindow()
      98             : {
      99             :   /* destructor code */
     100             : }
     101             : 
     102             : /* readonly attribute nsIVariant dialogArguments; */
     103             : NS_IMETHODIMP nsDOMModalContentWindow::GetDialogArguments(nsIVariant * *aDialogArguments)
     104             : {
     105             :     return NS_ERROR_NOT_IMPLEMENTED;
     106             : }
     107             : 
     108             : /* attribute nsIVariant returnValue; */
     109             : NS_IMETHODIMP nsDOMModalContentWindow::GetReturnValue(nsIVariant * *aReturnValue)
     110             : {
     111             :     return NS_ERROR_NOT_IMPLEMENTED;
     112             : }
     113             : NS_IMETHODIMP nsDOMModalContentWindow::SetReturnValue(nsIVariant *aReturnValue)
     114             : {
     115             :     return NS_ERROR_NOT_IMPLEMENTED;
     116             : }
     117             : 
     118             : /* End of implementation class template. */
     119             : #endif
     120             : 
     121             : 
     122             : #endif /* __gen_nsIDOMModalContentWindow_h__ */

Generated by: LCOV version 1.13