LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIAccessibleRelation.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/nsIAccessibleRelation.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIAccessibleRelation_h__
       6             : #define __gen_nsIAccessibleRelation_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.h"
      11             : #endif
      12             : 
      13             : #ifndef __gen_nsIArray_h__
      14             : #include "nsIArray.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 nsIAccessible; /* forward declaration */
      22             : 
      23             : 
      24             : /* starting interface:    nsIAccessibleRelation */
      25             : #define NS_IACCESSIBLERELATION_IID_STR "55b308c4-2ae4-46bc-b4cd-4d4370e0a660"
      26             : 
      27             : #define NS_IACCESSIBLERELATION_IID \
      28             :   {0x55b308c4, 0x2ae4, 0x46bc, \
      29             :     { 0xb4, 0xcd, 0x4d, 0x43, 0x70, 0xe0, 0xa6, 0x60 }}
      30             : 
      31           0 : class NS_NO_VTABLE nsIAccessibleRelation : public nsISupports {
      32             :  public:
      33             : 
      34             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLERELATION_IID)
      35             : 
      36             :   enum {
      37             :     RELATION_LABELLED_BY = 0U,
      38             :     RELATION_LABEL_FOR = 1U,
      39             :     RELATION_DESCRIBED_BY = 2U,
      40             :     RELATION_DESCRIPTION_FOR = 3U,
      41             :     RELATION_NODE_CHILD_OF = 4U,
      42             :     RELATION_NODE_PARENT_OF = 5U,
      43             :     RELATION_CONTROLLED_BY = 6U,
      44             :     RELATION_CONTROLLER_FOR = 7U,
      45             :     RELATION_FLOWS_TO = 8U,
      46             :     RELATION_FLOWS_FROM = 9U,
      47             :     RELATION_MEMBER_OF = 10U,
      48             :     RELATION_SUBWINDOW_OF = 11U,
      49             :     RELATION_EMBEDS = 12U,
      50             :     RELATION_EMBEDDED_BY = 13U,
      51             :     RELATION_POPUP_FOR = 14U,
      52             :     RELATION_PARENT_WINDOW_OF = 15U,
      53             :     RELATION_DEFAULT_BUTTON = 16U,
      54             :     RELATION_CONTAINING_DOCUMENT = 17U,
      55             :     RELATION_CONTAINING_TAB_PANE = 18U,
      56             :     RELATION_CONTAINING_WINDOW = 19U,
      57             :     RELATION_CONTAINING_APPLICATION = 20U,
      58             :     RELATION_DETAILS = 21U,
      59             :     RELATION_DETAILS_FOR = 22U,
      60             :     RELATION_ERRORMSG = 23U,
      61             :     RELATION_ERRORMSG_FOR = 24U
      62             :   };
      63             : 
      64             :   /* readonly attribute unsigned long relationType; */
      65             :   NS_IMETHOD GetRelationType(uint32_t *aRelationType) = 0;
      66             : 
      67             :   /* readonly attribute unsigned long targetsCount; */
      68             :   NS_IMETHOD GetTargetsCount(uint32_t *aTargetsCount) = 0;
      69             : 
      70             :   /* nsIAccessible getTarget (in unsigned long index); */
      71             :   NS_IMETHOD GetTarget(uint32_t index, nsIAccessible * *_retval) = 0;
      72             : 
      73             :   /* nsIArray getTargets (); */
      74             :   NS_IMETHOD GetTargets(nsIArray * *_retval) = 0;
      75             : 
      76             : };
      77             : 
      78             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleRelation, NS_IACCESSIBLERELATION_IID)
      79             : 
      80             : /* Use this macro when declaring classes that implement this interface. */
      81             : #define NS_DECL_NSIACCESSIBLERELATION \
      82             :   NS_IMETHOD GetRelationType(uint32_t *aRelationType) override; \
      83             :   NS_IMETHOD GetTargetsCount(uint32_t *aTargetsCount) override; \
      84             :   NS_IMETHOD GetTarget(uint32_t index, nsIAccessible * *_retval) override; \
      85             :   NS_IMETHOD GetTargets(nsIArray * *_retval) override; 
      86             : 
      87             : /* Use this macro when declaring the members of this interface when the
      88             :    class doesn't implement the interface. This is useful for forwarding. */
      89             : #define NS_DECL_NON_VIRTUAL_NSIACCESSIBLERELATION \
      90             :   nsresult GetRelationType(uint32_t *aRelationType); \
      91             :   nsresult GetTargetsCount(uint32_t *aTargetsCount); \
      92             :   nsresult GetTarget(uint32_t index, nsIAccessible * *_retval); \
      93             :   nsresult GetTargets(nsIArray * *_retval); 
      94             : 
      95             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      96             : #define NS_FORWARD_NSIACCESSIBLERELATION(_to) \
      97             :   NS_IMETHOD GetRelationType(uint32_t *aRelationType) override { return _to GetRelationType(aRelationType); } \
      98             :   NS_IMETHOD GetTargetsCount(uint32_t *aTargetsCount) override { return _to GetTargetsCount(aTargetsCount); } \
      99             :   NS_IMETHOD GetTarget(uint32_t index, nsIAccessible * *_retval) override { return _to GetTarget(index, _retval); } \
     100             :   NS_IMETHOD GetTargets(nsIArray * *_retval) override { return _to GetTargets(_retval); } 
     101             : 
     102             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     103             : #define NS_FORWARD_SAFE_NSIACCESSIBLERELATION(_to) \
     104             :   NS_IMETHOD GetRelationType(uint32_t *aRelationType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRelationType(aRelationType); } \
     105             :   NS_IMETHOD GetTargetsCount(uint32_t *aTargetsCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTargetsCount(aTargetsCount); } \
     106             :   NS_IMETHOD GetTarget(uint32_t index, nsIAccessible * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTarget(index, _retval); } \
     107             :   NS_IMETHOD GetTargets(nsIArray * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTargets(_retval); } 
     108             : 
     109             : #if 0
     110             : /* Use the code below as a template for the implementation class for this interface. */
     111             : 
     112             : /* Header file */
     113             : class nsAccessibleRelation : public nsIAccessibleRelation
     114             : {
     115             : public:
     116             :   NS_DECL_ISUPPORTS
     117             :   NS_DECL_NSIACCESSIBLERELATION
     118             : 
     119             :   nsAccessibleRelation();
     120             : 
     121             : private:
     122             :   ~nsAccessibleRelation();
     123             : 
     124             : protected:
     125             :   /* additional members */
     126             : };
     127             : 
     128             : /* Implementation file */
     129             : NS_IMPL_ISUPPORTS(nsAccessibleRelation, nsIAccessibleRelation)
     130             : 
     131             : nsAccessibleRelation::nsAccessibleRelation()
     132             : {
     133             :   /* member initializers and constructor code */
     134             : }
     135             : 
     136             : nsAccessibleRelation::~nsAccessibleRelation()
     137             : {
     138             :   /* destructor code */
     139             : }
     140             : 
     141             : /* readonly attribute unsigned long relationType; */
     142             : NS_IMETHODIMP nsAccessibleRelation::GetRelationType(uint32_t *aRelationType)
     143             : {
     144             :     return NS_ERROR_NOT_IMPLEMENTED;
     145             : }
     146             : 
     147             : /* readonly attribute unsigned long targetsCount; */
     148             : NS_IMETHODIMP nsAccessibleRelation::GetTargetsCount(uint32_t *aTargetsCount)
     149             : {
     150             :     return NS_ERROR_NOT_IMPLEMENTED;
     151             : }
     152             : 
     153             : /* nsIAccessible getTarget (in unsigned long index); */
     154             : NS_IMETHODIMP nsAccessibleRelation::GetTarget(uint32_t index, nsIAccessible * *_retval)
     155             : {
     156             :     return NS_ERROR_NOT_IMPLEMENTED;
     157             : }
     158             : 
     159             : /* nsIArray getTargets (); */
     160             : NS_IMETHODIMP nsAccessibleRelation::GetTargets(nsIArray * *_retval)
     161             : {
     162             :     return NS_ERROR_NOT_IMPLEMENTED;
     163             : }
     164             : 
     165             : /* End of implementation class template. */
     166             : #endif
     167             : 
     168             : 
     169             : #endif /* __gen_nsIAccessibleRelation_h__ */

Generated by: LCOV version 1.13