LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIAccessibleHyperLink.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/nsIAccessibleHyperLink.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIAccessibleHyperLink_h__
       6                 : #define __gen_nsIAccessibleHyperLink_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 nsIURI; /* forward declaration */
      18                 : 
      19                 : class nsIAccessible; /* forward declaration */
      20                 : 
      21                 : 
      22                 : /* starting interface:    nsIAccessibleHyperLink */
      23                 : #define NS_IACCESSIBLEHYPERLINK_IID_STR "38c60bfa-6040-4bfe-93f2-acd6a909bb60"
      24                 : 
      25                 : #define NS_IACCESSIBLEHYPERLINK_IID \
      26                 :   {0x38c60bfa, 0x6040, 0x4bfe, \
      27                 :     { 0x93, 0xf2, 0xac, 0xd6, 0xa9, 0x09, 0xbb, 0x60 }}
      28                 : 
      29               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIAccessibleHyperLink : public nsISupports {
      30                 :  public: 
      31                 : 
      32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLEHYPERLINK_IID)
      33                 : 
      34                 :   /* readonly attribute long startIndex; */
      35                 :   NS_SCRIPTABLE NS_IMETHOD GetStartIndex(PRInt32 *aStartIndex) = 0;
      36                 : 
      37                 :   /* readonly attribute long endIndex; */
      38                 :   NS_SCRIPTABLE NS_IMETHOD GetEndIndex(PRInt32 *aEndIndex) = 0;
      39                 : 
      40                 :   /* readonly attribute boolean valid; */
      41                 :   NS_SCRIPTABLE NS_IMETHOD GetValid(bool *aValid) = 0;
      42                 : 
      43                 :   /* readonly attribute boolean selected; */
      44                 :   NS_SCRIPTABLE NS_IMETHOD GetSelected(bool *aSelected) = 0;
      45                 : 
      46                 :   /* readonly attribute long anchorCount; */
      47                 :   NS_SCRIPTABLE NS_IMETHOD GetAnchorCount(PRInt32 *aAnchorCount) = 0;
      48                 : 
      49                 :   /* nsIURI getURI (in long index); */
      50                 :   NS_SCRIPTABLE NS_IMETHOD GetURI(PRInt32 index, nsIURI * *_retval NS_OUTPARAM) = 0;
      51                 : 
      52                 :   /* nsIAccessible getAnchor (in long index); */
      53                 :   NS_SCRIPTABLE NS_IMETHOD GetAnchor(PRInt32 index, nsIAccessible * *_retval NS_OUTPARAM) = 0;
      54                 : 
      55                 : };
      56                 : 
      57                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleHyperLink, NS_IACCESSIBLEHYPERLINK_IID)
      58                 : 
      59                 : /* Use this macro when declaring classes that implement this interface. */
      60                 : #define NS_DECL_NSIACCESSIBLEHYPERLINK \
      61                 :   NS_SCRIPTABLE NS_IMETHOD GetStartIndex(PRInt32 *aStartIndex); \
      62                 :   NS_SCRIPTABLE NS_IMETHOD GetEndIndex(PRInt32 *aEndIndex); \
      63                 :   NS_SCRIPTABLE NS_IMETHOD GetValid(bool *aValid); \
      64                 :   NS_SCRIPTABLE NS_IMETHOD GetSelected(bool *aSelected); \
      65                 :   NS_SCRIPTABLE NS_IMETHOD GetAnchorCount(PRInt32 *aAnchorCount); \
      66                 :   NS_SCRIPTABLE NS_IMETHOD GetURI(PRInt32 index, nsIURI * *_retval NS_OUTPARAM); \
      67                 :   NS_SCRIPTABLE NS_IMETHOD GetAnchor(PRInt32 index, nsIAccessible * *_retval NS_OUTPARAM); 
      68                 : 
      69                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      70                 : #define NS_FORWARD_NSIACCESSIBLEHYPERLINK(_to) \
      71                 :   NS_SCRIPTABLE NS_IMETHOD GetStartIndex(PRInt32 *aStartIndex) { return _to GetStartIndex(aStartIndex); } \
      72                 :   NS_SCRIPTABLE NS_IMETHOD GetEndIndex(PRInt32 *aEndIndex) { return _to GetEndIndex(aEndIndex); } \
      73                 :   NS_SCRIPTABLE NS_IMETHOD GetValid(bool *aValid) { return _to GetValid(aValid); } \
      74                 :   NS_SCRIPTABLE NS_IMETHOD GetSelected(bool *aSelected) { return _to GetSelected(aSelected); } \
      75                 :   NS_SCRIPTABLE NS_IMETHOD GetAnchorCount(PRInt32 *aAnchorCount) { return _to GetAnchorCount(aAnchorCount); } \
      76                 :   NS_SCRIPTABLE NS_IMETHOD GetURI(PRInt32 index, nsIURI * *_retval NS_OUTPARAM) { return _to GetURI(index, _retval); } \
      77                 :   NS_SCRIPTABLE NS_IMETHOD GetAnchor(PRInt32 index, nsIAccessible * *_retval NS_OUTPARAM) { return _to GetAnchor(index, _retval); } 
      78                 : 
      79                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      80                 : #define NS_FORWARD_SAFE_NSIACCESSIBLEHYPERLINK(_to) \
      81                 :   NS_SCRIPTABLE NS_IMETHOD GetStartIndex(PRInt32 *aStartIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStartIndex(aStartIndex); } \
      82                 :   NS_SCRIPTABLE NS_IMETHOD GetEndIndex(PRInt32 *aEndIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEndIndex(aEndIndex); } \
      83                 :   NS_SCRIPTABLE NS_IMETHOD GetValid(bool *aValid) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValid(aValid); } \
      84                 :   NS_SCRIPTABLE NS_IMETHOD GetSelected(bool *aSelected) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelected(aSelected); } \
      85                 :   NS_SCRIPTABLE NS_IMETHOD GetAnchorCount(PRInt32 *aAnchorCount) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAnchorCount(aAnchorCount); } \
      86                 :   NS_SCRIPTABLE NS_IMETHOD GetURI(PRInt32 index, nsIURI * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetURI(index, _retval); } \
      87                 :   NS_SCRIPTABLE NS_IMETHOD GetAnchor(PRInt32 index, nsIAccessible * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAnchor(index, _retval); } 
      88                 : 
      89                 : #if 0
      90                 : /* Use the code below as a template for the implementation class for this interface. */
      91                 : 
      92                 : /* Header file */
      93                 : class nsAccessibleHyperLink : public nsIAccessibleHyperLink
      94                 : {
      95                 : public:
      96                 :   NS_DECL_ISUPPORTS
      97                 :   NS_DECL_NSIACCESSIBLEHYPERLINK
      98                 : 
      99                 :   nsAccessibleHyperLink();
     100                 : 
     101                 : private:
     102                 :   ~nsAccessibleHyperLink();
     103                 : 
     104                 : protected:
     105                 :   /* additional members */
     106                 : };
     107                 : 
     108                 : /* Implementation file */
     109                 : NS_IMPL_ISUPPORTS1(nsAccessibleHyperLink, nsIAccessibleHyperLink)
     110                 : 
     111                 : nsAccessibleHyperLink::nsAccessibleHyperLink()
     112                 : {
     113                 :   /* member initializers and constructor code */
     114                 : }
     115                 : 
     116                 : nsAccessibleHyperLink::~nsAccessibleHyperLink()
     117                 : {
     118                 :   /* destructor code */
     119                 : }
     120                 : 
     121                 : /* readonly attribute long startIndex; */
     122                 : NS_IMETHODIMP nsAccessibleHyperLink::GetStartIndex(PRInt32 *aStartIndex)
     123                 : {
     124                 :     return NS_ERROR_NOT_IMPLEMENTED;
     125                 : }
     126                 : 
     127                 : /* readonly attribute long endIndex; */
     128                 : NS_IMETHODIMP nsAccessibleHyperLink::GetEndIndex(PRInt32 *aEndIndex)
     129                 : {
     130                 :     return NS_ERROR_NOT_IMPLEMENTED;
     131                 : }
     132                 : 
     133                 : /* readonly attribute boolean valid; */
     134                 : NS_IMETHODIMP nsAccessibleHyperLink::GetValid(bool *aValid)
     135                 : {
     136                 :     return NS_ERROR_NOT_IMPLEMENTED;
     137                 : }
     138                 : 
     139                 : /* readonly attribute boolean selected; */
     140                 : NS_IMETHODIMP nsAccessibleHyperLink::GetSelected(bool *aSelected)
     141                 : {
     142                 :     return NS_ERROR_NOT_IMPLEMENTED;
     143                 : }
     144                 : 
     145                 : /* readonly attribute long anchorCount; */
     146                 : NS_IMETHODIMP nsAccessibleHyperLink::GetAnchorCount(PRInt32 *aAnchorCount)
     147                 : {
     148                 :     return NS_ERROR_NOT_IMPLEMENTED;
     149                 : }
     150                 : 
     151                 : /* nsIURI getURI (in long index); */
     152                 : NS_IMETHODIMP nsAccessibleHyperLink::GetURI(PRInt32 index, nsIURI * *_retval NS_OUTPARAM)
     153                 : {
     154                 :     return NS_ERROR_NOT_IMPLEMENTED;
     155                 : }
     156                 : 
     157                 : /* nsIAccessible getAnchor (in long index); */
     158                 : NS_IMETHODIMP nsAccessibleHyperLink::GetAnchor(PRInt32 index, nsIAccessible * *_retval NS_OUTPARAM)
     159                 : {
     160                 :     return NS_ERROR_NOT_IMPLEMENTED;
     161                 : }
     162                 : 
     163                 : /* End of implementation class template. */
     164                 : #endif
     165                 : 
     166                 : 
     167                 : #endif /* __gen_nsIAccessibleHyperLink_h__ */

Generated by: LCOV version 1.7