LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIAccessibleDocument.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/nsIAccessibleDocument.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIAccessibleDocument_h__
       6             : #define __gen_nsIAccessibleDocument_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 nsIAccessiblePivot; /* forward declaration */
      18             : 
      19             : class nsIDOMDocument; /* forward declaration */
      20             : 
      21             : class mozIDOMWindowProxy; /* forward declaration */
      22             : 
      23             : 
      24             : /* starting interface:    nsIAccessibleDocument */
      25             : #define NS_IACCESSIBLEDOCUMENT_IID_STR "5cad5f91-fcce-40e7-913e-4671701d19b4"
      26             : 
      27             : #define NS_IACCESSIBLEDOCUMENT_IID \
      28             :   {0x5cad5f91, 0xfcce, 0x40e7, \
      29             :     { 0x91, 0x3e, 0x46, 0x71, 0x70, 0x1d, 0x19, 0xb4 }}
      30             : 
      31           0 : class NS_NO_VTABLE nsIAccessibleDocument : public nsISupports {
      32             :  public:
      33             : 
      34             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLEDOCUMENT_IID)
      35             : 
      36             :   /* readonly attribute AString URL; */
      37             :   NS_IMETHOD GetURL(nsAString & aURL) = 0;
      38             : 
      39             :   /* readonly attribute AString title; */
      40             :   NS_IMETHOD GetTitle(nsAString & aTitle) = 0;
      41             : 
      42             :   /* readonly attribute AString mimeType; */
      43             :   NS_IMETHOD GetMimeType(nsAString & aMimeType) = 0;
      44             : 
      45             :   /* readonly attribute AString docType; */
      46             :   NS_IMETHOD GetDocType(nsAString & aDocType) = 0;
      47             : 
      48             :   /* readonly attribute nsIDOMDocument DOMDocument; */
      49             :   NS_IMETHOD GetDOMDocument(nsIDOMDocument * *aDOMDocument) = 0;
      50             : 
      51             :   /* readonly attribute mozIDOMWindowProxy window; */
      52             :   NS_IMETHOD GetWindow(mozIDOMWindowProxy * *aWindow) = 0;
      53             : 
      54             :   /* readonly attribute nsIAccessibleDocument parentDocument; */
      55             :   NS_IMETHOD GetParentDocument(nsIAccessibleDocument * *aParentDocument) = 0;
      56             : 
      57             :   /* readonly attribute unsigned long childDocumentCount; */
      58             :   NS_IMETHOD GetChildDocumentCount(uint32_t *aChildDocumentCount) = 0;
      59             : 
      60             :   /* readonly attribute nsIAccessiblePivot virtualCursor; */
      61             :   NS_IMETHOD GetVirtualCursor(nsIAccessiblePivot * *aVirtualCursor) = 0;
      62             : 
      63             :   /* nsIAccessibleDocument getChildDocumentAt (in unsigned long index); */
      64             :   NS_IMETHOD GetChildDocumentAt(uint32_t index, nsIAccessibleDocument * *_retval) = 0;
      65             : 
      66             : };
      67             : 
      68             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleDocument, NS_IACCESSIBLEDOCUMENT_IID)
      69             : 
      70             : /* Use this macro when declaring classes that implement this interface. */
      71             : #define NS_DECL_NSIACCESSIBLEDOCUMENT \
      72             :   NS_IMETHOD GetURL(nsAString & aURL) override; \
      73             :   NS_IMETHOD GetTitle(nsAString & aTitle) override; \
      74             :   NS_IMETHOD GetMimeType(nsAString & aMimeType) override; \
      75             :   NS_IMETHOD GetDocType(nsAString & aDocType) override; \
      76             :   NS_IMETHOD GetDOMDocument(nsIDOMDocument * *aDOMDocument) override; \
      77             :   NS_IMETHOD GetWindow(mozIDOMWindowProxy * *aWindow) override; \
      78             :   NS_IMETHOD GetParentDocument(nsIAccessibleDocument * *aParentDocument) override; \
      79             :   NS_IMETHOD GetChildDocumentCount(uint32_t *aChildDocumentCount) override; \
      80             :   NS_IMETHOD GetVirtualCursor(nsIAccessiblePivot * *aVirtualCursor) override; \
      81             :   NS_IMETHOD GetChildDocumentAt(uint32_t index, nsIAccessibleDocument * *_retval) override; 
      82             : 
      83             : /* Use this macro when declaring the members of this interface when the
      84             :    class doesn't implement the interface. This is useful for forwarding. */
      85             : #define NS_DECL_NON_VIRTUAL_NSIACCESSIBLEDOCUMENT \
      86             :   nsresult GetURL(nsAString & aURL); \
      87             :   nsresult GetTitle(nsAString & aTitle); \
      88             :   nsresult GetMimeType(nsAString & aMimeType); \
      89             :   nsresult GetDocType(nsAString & aDocType); \
      90             :   nsresult GetDOMDocument(nsIDOMDocument * *aDOMDocument); \
      91             :   nsresult GetWindow(mozIDOMWindowProxy * *aWindow); \
      92             :   nsresult GetParentDocument(nsIAccessibleDocument * *aParentDocument); \
      93             :   nsresult GetChildDocumentCount(uint32_t *aChildDocumentCount); \
      94             :   nsresult GetVirtualCursor(nsIAccessiblePivot * *aVirtualCursor); \
      95             :   nsresult GetChildDocumentAt(uint32_t index, nsIAccessibleDocument * *_retval); 
      96             : 
      97             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      98             : #define NS_FORWARD_NSIACCESSIBLEDOCUMENT(_to) \
      99             :   NS_IMETHOD GetURL(nsAString & aURL) override { return _to GetURL(aURL); } \
     100             :   NS_IMETHOD GetTitle(nsAString & aTitle) override { return _to GetTitle(aTitle); } \
     101             :   NS_IMETHOD GetMimeType(nsAString & aMimeType) override { return _to GetMimeType(aMimeType); } \
     102             :   NS_IMETHOD GetDocType(nsAString & aDocType) override { return _to GetDocType(aDocType); } \
     103             :   NS_IMETHOD GetDOMDocument(nsIDOMDocument * *aDOMDocument) override { return _to GetDOMDocument(aDOMDocument); } \
     104             :   NS_IMETHOD GetWindow(mozIDOMWindowProxy * *aWindow) override { return _to GetWindow(aWindow); } \
     105             :   NS_IMETHOD GetParentDocument(nsIAccessibleDocument * *aParentDocument) override { return _to GetParentDocument(aParentDocument); } \
     106             :   NS_IMETHOD GetChildDocumentCount(uint32_t *aChildDocumentCount) override { return _to GetChildDocumentCount(aChildDocumentCount); } \
     107             :   NS_IMETHOD GetVirtualCursor(nsIAccessiblePivot * *aVirtualCursor) override { return _to GetVirtualCursor(aVirtualCursor); } \
     108             :   NS_IMETHOD GetChildDocumentAt(uint32_t index, nsIAccessibleDocument * *_retval) override { return _to GetChildDocumentAt(index, _retval); } 
     109             : 
     110             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     111             : #define NS_FORWARD_SAFE_NSIACCESSIBLEDOCUMENT(_to) \
     112             :   NS_IMETHOD GetURL(nsAString & aURL) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetURL(aURL); } \
     113             :   NS_IMETHOD GetTitle(nsAString & aTitle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(aTitle); } \
     114             :   NS_IMETHOD GetMimeType(nsAString & aMimeType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMimeType(aMimeType); } \
     115             :   NS_IMETHOD GetDocType(nsAString & aDocType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDocType(aDocType); } \
     116             :   NS_IMETHOD GetDOMDocument(nsIDOMDocument * *aDOMDocument) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDOMDocument(aDOMDocument); } \
     117             :   NS_IMETHOD GetWindow(mozIDOMWindowProxy * *aWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWindow(aWindow); } \
     118             :   NS_IMETHOD GetParentDocument(nsIAccessibleDocument * *aParentDocument) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParentDocument(aParentDocument); } \
     119             :   NS_IMETHOD GetChildDocumentCount(uint32_t *aChildDocumentCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChildDocumentCount(aChildDocumentCount); } \
     120             :   NS_IMETHOD GetVirtualCursor(nsIAccessiblePivot * *aVirtualCursor) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVirtualCursor(aVirtualCursor); } \
     121             :   NS_IMETHOD GetChildDocumentAt(uint32_t index, nsIAccessibleDocument * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChildDocumentAt(index, _retval); } 
     122             : 
     123             : #if 0
     124             : /* Use the code below as a template for the implementation class for this interface. */
     125             : 
     126             : /* Header file */
     127             : class nsAccessibleDocument : public nsIAccessibleDocument
     128             : {
     129             : public:
     130             :   NS_DECL_ISUPPORTS
     131             :   NS_DECL_NSIACCESSIBLEDOCUMENT
     132             : 
     133             :   nsAccessibleDocument();
     134             : 
     135             : private:
     136             :   ~nsAccessibleDocument();
     137             : 
     138             : protected:
     139             :   /* additional members */
     140             : };
     141             : 
     142             : /* Implementation file */
     143             : NS_IMPL_ISUPPORTS(nsAccessibleDocument, nsIAccessibleDocument)
     144             : 
     145             : nsAccessibleDocument::nsAccessibleDocument()
     146             : {
     147             :   /* member initializers and constructor code */
     148             : }
     149             : 
     150             : nsAccessibleDocument::~nsAccessibleDocument()
     151             : {
     152             :   /* destructor code */
     153             : }
     154             : 
     155             : /* readonly attribute AString URL; */
     156             : NS_IMETHODIMP nsAccessibleDocument::GetURL(nsAString & aURL)
     157             : {
     158             :     return NS_ERROR_NOT_IMPLEMENTED;
     159             : }
     160             : 
     161             : /* readonly attribute AString title; */
     162             : NS_IMETHODIMP nsAccessibleDocument::GetTitle(nsAString & aTitle)
     163             : {
     164             :     return NS_ERROR_NOT_IMPLEMENTED;
     165             : }
     166             : 
     167             : /* readonly attribute AString mimeType; */
     168             : NS_IMETHODIMP nsAccessibleDocument::GetMimeType(nsAString & aMimeType)
     169             : {
     170             :     return NS_ERROR_NOT_IMPLEMENTED;
     171             : }
     172             : 
     173             : /* readonly attribute AString docType; */
     174             : NS_IMETHODIMP nsAccessibleDocument::GetDocType(nsAString & aDocType)
     175             : {
     176             :     return NS_ERROR_NOT_IMPLEMENTED;
     177             : }
     178             : 
     179             : /* readonly attribute nsIDOMDocument DOMDocument; */
     180             : NS_IMETHODIMP nsAccessibleDocument::GetDOMDocument(nsIDOMDocument * *aDOMDocument)
     181             : {
     182             :     return NS_ERROR_NOT_IMPLEMENTED;
     183             : }
     184             : 
     185             : /* readonly attribute mozIDOMWindowProxy window; */
     186             : NS_IMETHODIMP nsAccessibleDocument::GetWindow(mozIDOMWindowProxy * *aWindow)
     187             : {
     188             :     return NS_ERROR_NOT_IMPLEMENTED;
     189             : }
     190             : 
     191             : /* readonly attribute nsIAccessibleDocument parentDocument; */
     192             : NS_IMETHODIMP nsAccessibleDocument::GetParentDocument(nsIAccessibleDocument * *aParentDocument)
     193             : {
     194             :     return NS_ERROR_NOT_IMPLEMENTED;
     195             : }
     196             : 
     197             : /* readonly attribute unsigned long childDocumentCount; */
     198             : NS_IMETHODIMP nsAccessibleDocument::GetChildDocumentCount(uint32_t *aChildDocumentCount)
     199             : {
     200             :     return NS_ERROR_NOT_IMPLEMENTED;
     201             : }
     202             : 
     203             : /* readonly attribute nsIAccessiblePivot virtualCursor; */
     204             : NS_IMETHODIMP nsAccessibleDocument::GetVirtualCursor(nsIAccessiblePivot * *aVirtualCursor)
     205             : {
     206             :     return NS_ERROR_NOT_IMPLEMENTED;
     207             : }
     208             : 
     209             : /* nsIAccessibleDocument getChildDocumentAt (in unsigned long index); */
     210             : NS_IMETHODIMP nsAccessibleDocument::GetChildDocumentAt(uint32_t index, nsIAccessibleDocument * *_retval)
     211             : {
     212             :     return NS_ERROR_NOT_IMPLEMENTED;
     213             : }
     214             : 
     215             : /* End of implementation class template. */
     216             : #endif
     217             : 
     218             : 
     219             : #endif /* __gen_nsIAccessibleDocument_h__ */

Generated by: LCOV version 1.13