LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIAccessibleRelation.h (source / functions) Found Hit Coverage
Test: app.info Lines: 1 0 0.0 %
Date: 2012-06-02 Functions: 1 0 0.0 %

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/accessible/public/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 "f42a1589-70ab-4704-877f-4a9162bbe188"
      26                 : 
      27                 : #define NS_IACCESSIBLERELATION_IID \
      28                 :   {0xf42a1589, 0x70ab, 0x4704, \
      29                 :     { 0x87, 0x7f, 0x4a, 0x91, 0x62, 0xbb, 0xe1, 0x88 }}
      30                 : 
      31               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIAccessibleRelation : public nsISupports {
      32                 :  public: 
      33                 : 
      34                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLERELATION_IID)
      35                 : 
      36                 :   enum {
      37                 :     RELATION_NUL = 0U,
      38                 :     RELATION_CONTROLLED_BY = 1U,
      39                 :     RELATION_FIRST = 1U,
      40                 :     RELATION_CONTROLLER_FOR = 2U,
      41                 :     RELATION_LABEL_FOR = 3U,
      42                 :     RELATION_LABELLED_BY = 4U,
      43                 :     RELATION_MEMBER_OF = 5U,
      44                 :     RELATION_NODE_CHILD_OF = 6U,
      45                 :     RELATION_FLOWS_TO = 7U,
      46                 :     RELATION_FLOWS_FROM = 8U,
      47                 :     RELATION_SUBWINDOW_OF = 9U,
      48                 :     RELATION_EMBEDS = 10U,
      49                 :     RELATION_EMBEDDED_BY = 11U,
      50                 :     RELATION_POPUP_FOR = 12U,
      51                 :     RELATION_PARENT_WINDOW_OF = 13U,
      52                 :     RELATION_DESCRIBED_BY = 14U,
      53                 :     RELATION_DESCRIPTION_FOR = 15U,
      54                 :     RELATION_LAST = 15U,
      55                 :     RELATION_DEFAULT_BUTTON = 16384U
      56                 :   };
      57                 : 
      58                 :   /* readonly attribute unsigned long relationType; */
      59                 :   NS_SCRIPTABLE NS_IMETHOD GetRelationType(PRUint32 *aRelationType) = 0;
      60                 : 
      61                 :   /* readonly attribute unsigned long targetsCount; */
      62                 :   NS_SCRIPTABLE NS_IMETHOD GetTargetsCount(PRUint32 *aTargetsCount) = 0;
      63                 : 
      64                 :   /* nsIAccessible getTarget (in unsigned long index); */
      65                 :   NS_SCRIPTABLE NS_IMETHOD GetTarget(PRUint32 index, nsIAccessible * *_retval NS_OUTPARAM) = 0;
      66                 : 
      67                 :   /* nsIArray getTargets (); */
      68                 :   NS_SCRIPTABLE NS_IMETHOD GetTargets(nsIArray * *_retval NS_OUTPARAM) = 0;
      69                 : 
      70                 : };
      71                 : 
      72                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleRelation, NS_IACCESSIBLERELATION_IID)
      73                 : 
      74                 : /* Use this macro when declaring classes that implement this interface. */
      75                 : #define NS_DECL_NSIACCESSIBLERELATION \
      76                 :   NS_SCRIPTABLE NS_IMETHOD GetRelationType(PRUint32 *aRelationType); \
      77                 :   NS_SCRIPTABLE NS_IMETHOD GetTargetsCount(PRUint32 *aTargetsCount); \
      78                 :   NS_SCRIPTABLE NS_IMETHOD GetTarget(PRUint32 index, nsIAccessible * *_retval NS_OUTPARAM); \
      79                 :   NS_SCRIPTABLE NS_IMETHOD GetTargets(nsIArray * *_retval NS_OUTPARAM); 
      80                 : 
      81                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      82                 : #define NS_FORWARD_NSIACCESSIBLERELATION(_to) \
      83                 :   NS_SCRIPTABLE NS_IMETHOD GetRelationType(PRUint32 *aRelationType) { return _to GetRelationType(aRelationType); } \
      84                 :   NS_SCRIPTABLE NS_IMETHOD GetTargetsCount(PRUint32 *aTargetsCount) { return _to GetTargetsCount(aTargetsCount); } \
      85                 :   NS_SCRIPTABLE NS_IMETHOD GetTarget(PRUint32 index, nsIAccessible * *_retval NS_OUTPARAM) { return _to GetTarget(index, _retval); } \
      86                 :   NS_SCRIPTABLE NS_IMETHOD GetTargets(nsIArray * *_retval NS_OUTPARAM) { return _to GetTargets(_retval); } 
      87                 : 
      88                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      89                 : #define NS_FORWARD_SAFE_NSIACCESSIBLERELATION(_to) \
      90                 :   NS_SCRIPTABLE NS_IMETHOD GetRelationType(PRUint32 *aRelationType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRelationType(aRelationType); } \
      91                 :   NS_SCRIPTABLE NS_IMETHOD GetTargetsCount(PRUint32 *aTargetsCount) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTargetsCount(aTargetsCount); } \
      92                 :   NS_SCRIPTABLE NS_IMETHOD GetTarget(PRUint32 index, nsIAccessible * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTarget(index, _retval); } \
      93                 :   NS_SCRIPTABLE NS_IMETHOD GetTargets(nsIArray * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTargets(_retval); } 
      94                 : 
      95                 : #if 0
      96                 : /* Use the code below as a template for the implementation class for this interface. */
      97                 : 
      98                 : /* Header file */
      99                 : class nsAccessibleRelation : public nsIAccessibleRelation
     100                 : {
     101                 : public:
     102                 :   NS_DECL_ISUPPORTS
     103                 :   NS_DECL_NSIACCESSIBLERELATION
     104                 : 
     105                 :   nsAccessibleRelation();
     106                 : 
     107                 : private:
     108                 :   ~nsAccessibleRelation();
     109                 : 
     110                 : protected:
     111                 :   /* additional members */
     112                 : };
     113                 : 
     114                 : /* Implementation file */
     115                 : NS_IMPL_ISUPPORTS1(nsAccessibleRelation, nsIAccessibleRelation)
     116                 : 
     117                 : nsAccessibleRelation::nsAccessibleRelation()
     118                 : {
     119                 :   /* member initializers and constructor code */
     120                 : }
     121                 : 
     122                 : nsAccessibleRelation::~nsAccessibleRelation()
     123                 : {
     124                 :   /* destructor code */
     125                 : }
     126                 : 
     127                 : /* readonly attribute unsigned long relationType; */
     128                 : NS_IMETHODIMP nsAccessibleRelation::GetRelationType(PRUint32 *aRelationType)
     129                 : {
     130                 :     return NS_ERROR_NOT_IMPLEMENTED;
     131                 : }
     132                 : 
     133                 : /* readonly attribute unsigned long targetsCount; */
     134                 : NS_IMETHODIMP nsAccessibleRelation::GetTargetsCount(PRUint32 *aTargetsCount)
     135                 : {
     136                 :     return NS_ERROR_NOT_IMPLEMENTED;
     137                 : }
     138                 : 
     139                 : /* nsIAccessible getTarget (in unsigned long index); */
     140                 : NS_IMETHODIMP nsAccessibleRelation::GetTarget(PRUint32 index, nsIAccessible * *_retval NS_OUTPARAM)
     141                 : {
     142                 :     return NS_ERROR_NOT_IMPLEMENTED;
     143                 : }
     144                 : 
     145                 : /* nsIArray getTargets (); */
     146                 : NS_IMETHODIMP nsAccessibleRelation::GetTargets(nsIArray * *_retval NS_OUTPARAM)
     147                 : {
     148                 :     return NS_ERROR_NOT_IMPLEMENTED;
     149                 : }
     150                 : 
     151                 : /* End of implementation class template. */
     152                 : #endif
     153                 : 
     154                 : 
     155                 : #endif /* __gen_nsIAccessibleRelation_h__ */

Generated by: LCOV version 1.7