LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIAccessibleRetrieval.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/nsIAccessibleRetrieval.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIAccessibleRetrieval_h__
       6                 : #define __gen_nsIAccessibleRetrieval_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 nsIDOMNode; /* forward declaration */
      18                 : 
      19                 : class nsIAccessible; /* forward declaration */
      20                 : 
      21                 : class nsIWeakReference; /* forward declaration */
      22                 : 
      23                 : class nsIPresShell; /* forward declaration */
      24                 : 
      25                 : class nsIDOMWindow; /* forward declaration */
      26                 : 
      27                 : class nsIDOMDOMStringList; /* forward declaration */
      28                 : 
      29                 : class nsIAccessiblePivot; /* forward declaration */
      30                 : 
      31                 : 
      32                 : /* starting interface:    nsIAccessibleRetrieval */
      33                 : #define NS_IACCESSIBLERETRIEVAL_IID_STR "310ce77d-c92b-4761-82e8-77e1a728e8d4"
      34                 : 
      35                 : #define NS_IACCESSIBLERETRIEVAL_IID \
      36                 :   {0x310ce77d, 0xc92b, 0x4761, \
      37                 :     { 0x82, 0xe8, 0x77, 0xe1, 0xa7, 0x28, 0xe8, 0xd4 }}
      38                 : 
      39               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIAccessibleRetrieval : public nsISupports {
      40                 :  public: 
      41                 : 
      42                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLERETRIEVAL_IID)
      43                 : 
      44                 :   /* nsIAccessible getApplicationAccessible (); */
      45                 :   NS_SCRIPTABLE NS_IMETHOD GetApplicationAccessible(nsIAccessible * *_retval NS_OUTPARAM) = 0;
      46                 : 
      47                 :   /* nsIAccessible getAccessibleFor (in nsIDOMNode aNode); */
      48                 :   NS_SCRIPTABLE NS_IMETHOD GetAccessibleFor(nsIDOMNode *aNode, nsIAccessible * *_retval NS_OUTPARAM) = 0;
      49                 : 
      50                 :   /* AString getStringRole (in unsigned long aRole); */
      51                 :   NS_SCRIPTABLE NS_IMETHOD GetStringRole(PRUint32 aRole, nsAString & _retval NS_OUTPARAM) = 0;
      52                 : 
      53                 :   /* nsIDOMDOMStringList getStringStates (in unsigned long aStates, in unsigned long aExtraStates); */
      54                 :   NS_SCRIPTABLE NS_IMETHOD GetStringStates(PRUint32 aStates, PRUint32 aExtraStates, nsIDOMDOMStringList * *_retval NS_OUTPARAM) = 0;
      55                 : 
      56                 :   /* AString getStringEventType (in unsigned long aEventType); */
      57                 :   NS_SCRIPTABLE NS_IMETHOD GetStringEventType(PRUint32 aEventType, nsAString & _retval NS_OUTPARAM) = 0;
      58                 : 
      59                 :   /* AString getStringRelationType (in unsigned long aRelationType); */
      60                 :   NS_SCRIPTABLE NS_IMETHOD GetStringRelationType(PRUint32 aRelationType, nsAString & _retval NS_OUTPARAM) = 0;
      61                 : 
      62                 :   /* nsIAccessible getAccessibleFromCache (in nsIDOMNode aNode); */
      63                 :   NS_SCRIPTABLE NS_IMETHOD GetAccessibleFromCache(nsIDOMNode *aNode, nsIAccessible * *_retval NS_OUTPARAM) = 0;
      64                 : 
      65                 :   /* nsIAccessiblePivot createAccessiblePivot (in nsIAccessible aRoot); */
      66                 :   NS_SCRIPTABLE NS_IMETHOD CreateAccessiblePivot(nsIAccessible *aRoot, nsIAccessiblePivot * *_retval NS_OUTPARAM) = 0;
      67                 : 
      68                 : };
      69                 : 
      70                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleRetrieval, NS_IACCESSIBLERETRIEVAL_IID)
      71                 : 
      72                 : /* Use this macro when declaring classes that implement this interface. */
      73                 : #define NS_DECL_NSIACCESSIBLERETRIEVAL \
      74                 :   NS_SCRIPTABLE NS_IMETHOD GetApplicationAccessible(nsIAccessible * *_retval NS_OUTPARAM); \
      75                 :   NS_SCRIPTABLE NS_IMETHOD GetAccessibleFor(nsIDOMNode *aNode, nsIAccessible * *_retval NS_OUTPARAM); \
      76                 :   NS_SCRIPTABLE NS_IMETHOD GetStringRole(PRUint32 aRole, nsAString & _retval NS_OUTPARAM); \
      77                 :   NS_SCRIPTABLE NS_IMETHOD GetStringStates(PRUint32 aStates, PRUint32 aExtraStates, nsIDOMDOMStringList * *_retval NS_OUTPARAM); \
      78                 :   NS_SCRIPTABLE NS_IMETHOD GetStringEventType(PRUint32 aEventType, nsAString & _retval NS_OUTPARAM); \
      79                 :   NS_SCRIPTABLE NS_IMETHOD GetStringRelationType(PRUint32 aRelationType, nsAString & _retval NS_OUTPARAM); \
      80                 :   NS_SCRIPTABLE NS_IMETHOD GetAccessibleFromCache(nsIDOMNode *aNode, nsIAccessible * *_retval NS_OUTPARAM); \
      81                 :   NS_SCRIPTABLE NS_IMETHOD CreateAccessiblePivot(nsIAccessible *aRoot, nsIAccessiblePivot * *_retval NS_OUTPARAM); 
      82                 : 
      83                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      84                 : #define NS_FORWARD_NSIACCESSIBLERETRIEVAL(_to) \
      85                 :   NS_SCRIPTABLE NS_IMETHOD GetApplicationAccessible(nsIAccessible * *_retval NS_OUTPARAM) { return _to GetApplicationAccessible(_retval); } \
      86                 :   NS_SCRIPTABLE NS_IMETHOD GetAccessibleFor(nsIDOMNode *aNode, nsIAccessible * *_retval NS_OUTPARAM) { return _to GetAccessibleFor(aNode, _retval); } \
      87                 :   NS_SCRIPTABLE NS_IMETHOD GetStringRole(PRUint32 aRole, nsAString & _retval NS_OUTPARAM) { return _to GetStringRole(aRole, _retval); } \
      88                 :   NS_SCRIPTABLE NS_IMETHOD GetStringStates(PRUint32 aStates, PRUint32 aExtraStates, nsIDOMDOMStringList * *_retval NS_OUTPARAM) { return _to GetStringStates(aStates, aExtraStates, _retval); } \
      89                 :   NS_SCRIPTABLE NS_IMETHOD GetStringEventType(PRUint32 aEventType, nsAString & _retval NS_OUTPARAM) { return _to GetStringEventType(aEventType, _retval); } \
      90                 :   NS_SCRIPTABLE NS_IMETHOD GetStringRelationType(PRUint32 aRelationType, nsAString & _retval NS_OUTPARAM) { return _to GetStringRelationType(aRelationType, _retval); } \
      91                 :   NS_SCRIPTABLE NS_IMETHOD GetAccessibleFromCache(nsIDOMNode *aNode, nsIAccessible * *_retval NS_OUTPARAM) { return _to GetAccessibleFromCache(aNode, _retval); } \
      92                 :   NS_SCRIPTABLE NS_IMETHOD CreateAccessiblePivot(nsIAccessible *aRoot, nsIAccessiblePivot * *_retval NS_OUTPARAM) { return _to CreateAccessiblePivot(aRoot, _retval); } 
      93                 : 
      94                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      95                 : #define NS_FORWARD_SAFE_NSIACCESSIBLERETRIEVAL(_to) \
      96                 :   NS_SCRIPTABLE NS_IMETHOD GetApplicationAccessible(nsIAccessible * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetApplicationAccessible(_retval); } \
      97                 :   NS_SCRIPTABLE NS_IMETHOD GetAccessibleFor(nsIDOMNode *aNode, nsIAccessible * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccessibleFor(aNode, _retval); } \
      98                 :   NS_SCRIPTABLE NS_IMETHOD GetStringRole(PRUint32 aRole, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStringRole(aRole, _retval); } \
      99                 :   NS_SCRIPTABLE NS_IMETHOD GetStringStates(PRUint32 aStates, PRUint32 aExtraStates, nsIDOMDOMStringList * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStringStates(aStates, aExtraStates, _retval); } \
     100                 :   NS_SCRIPTABLE NS_IMETHOD GetStringEventType(PRUint32 aEventType, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStringEventType(aEventType, _retval); } \
     101                 :   NS_SCRIPTABLE NS_IMETHOD GetStringRelationType(PRUint32 aRelationType, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStringRelationType(aRelationType, _retval); } \
     102                 :   NS_SCRIPTABLE NS_IMETHOD GetAccessibleFromCache(nsIDOMNode *aNode, nsIAccessible * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccessibleFromCache(aNode, _retval); } \
     103                 :   NS_SCRIPTABLE NS_IMETHOD CreateAccessiblePivot(nsIAccessible *aRoot, nsIAccessiblePivot * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateAccessiblePivot(aRoot, _retval); } 
     104                 : 
     105                 : #if 0
     106                 : /* Use the code below as a template for the implementation class for this interface. */
     107                 : 
     108                 : /* Header file */
     109                 : class nsAccessibleRetrieval : public nsIAccessibleRetrieval
     110                 : {
     111                 : public:
     112                 :   NS_DECL_ISUPPORTS
     113                 :   NS_DECL_NSIACCESSIBLERETRIEVAL
     114                 : 
     115                 :   nsAccessibleRetrieval();
     116                 : 
     117                 : private:
     118                 :   ~nsAccessibleRetrieval();
     119                 : 
     120                 : protected:
     121                 :   /* additional members */
     122                 : };
     123                 : 
     124                 : /* Implementation file */
     125                 : NS_IMPL_ISUPPORTS1(nsAccessibleRetrieval, nsIAccessibleRetrieval)
     126                 : 
     127                 : nsAccessibleRetrieval::nsAccessibleRetrieval()
     128                 : {
     129                 :   /* member initializers and constructor code */
     130                 : }
     131                 : 
     132                 : nsAccessibleRetrieval::~nsAccessibleRetrieval()
     133                 : {
     134                 :   /* destructor code */
     135                 : }
     136                 : 
     137                 : /* nsIAccessible getApplicationAccessible (); */
     138                 : NS_IMETHODIMP nsAccessibleRetrieval::GetApplicationAccessible(nsIAccessible * *_retval NS_OUTPARAM)
     139                 : {
     140                 :     return NS_ERROR_NOT_IMPLEMENTED;
     141                 : }
     142                 : 
     143                 : /* nsIAccessible getAccessibleFor (in nsIDOMNode aNode); */
     144                 : NS_IMETHODIMP nsAccessibleRetrieval::GetAccessibleFor(nsIDOMNode *aNode, nsIAccessible * *_retval NS_OUTPARAM)
     145                 : {
     146                 :     return NS_ERROR_NOT_IMPLEMENTED;
     147                 : }
     148                 : 
     149                 : /* AString getStringRole (in unsigned long aRole); */
     150                 : NS_IMETHODIMP nsAccessibleRetrieval::GetStringRole(PRUint32 aRole, nsAString & _retval NS_OUTPARAM)
     151                 : {
     152                 :     return NS_ERROR_NOT_IMPLEMENTED;
     153                 : }
     154                 : 
     155                 : /* nsIDOMDOMStringList getStringStates (in unsigned long aStates, in unsigned long aExtraStates); */
     156                 : NS_IMETHODIMP nsAccessibleRetrieval::GetStringStates(PRUint32 aStates, PRUint32 aExtraStates, nsIDOMDOMStringList * *_retval NS_OUTPARAM)
     157                 : {
     158                 :     return NS_ERROR_NOT_IMPLEMENTED;
     159                 : }
     160                 : 
     161                 : /* AString getStringEventType (in unsigned long aEventType); */
     162                 : NS_IMETHODIMP nsAccessibleRetrieval::GetStringEventType(PRUint32 aEventType, nsAString & _retval NS_OUTPARAM)
     163                 : {
     164                 :     return NS_ERROR_NOT_IMPLEMENTED;
     165                 : }
     166                 : 
     167                 : /* AString getStringRelationType (in unsigned long aRelationType); */
     168                 : NS_IMETHODIMP nsAccessibleRetrieval::GetStringRelationType(PRUint32 aRelationType, nsAString & _retval NS_OUTPARAM)
     169                 : {
     170                 :     return NS_ERROR_NOT_IMPLEMENTED;
     171                 : }
     172                 : 
     173                 : /* nsIAccessible getAccessibleFromCache (in nsIDOMNode aNode); */
     174                 : NS_IMETHODIMP nsAccessibleRetrieval::GetAccessibleFromCache(nsIDOMNode *aNode, nsIAccessible * *_retval NS_OUTPARAM)
     175                 : {
     176                 :     return NS_ERROR_NOT_IMPLEMENTED;
     177                 : }
     178                 : 
     179                 : /* nsIAccessiblePivot createAccessiblePivot (in nsIAccessible aRoot); */
     180                 : NS_IMETHODIMP nsAccessibleRetrieval::CreateAccessiblePivot(nsIAccessible *aRoot, nsIAccessiblePivot * *_retval NS_OUTPARAM)
     181                 : {
     182                 :     return NS_ERROR_NOT_IMPLEMENTED;
     183                 : }
     184                 : 
     185                 : /* End of implementation class template. */
     186                 : #endif
     187                 : 
     188                 : 
     189                 : // for component registration
     190                 : // {663CA4A8-D219-4000-925D-D8F66406B626}
     191                 : #define NS_ACCESSIBLE_RETRIEVAL_CID \
     192                 : { 0x663ca4a8, 0xd219, 0x4000, { 0x92, 0x5d, 0xd8, 0xf6, 0x64, 0x6, 0xb6, 0x26 } }
     193                 : 
     194                 : #endif /* __gen_nsIAccessibleRetrieval_h__ */

Generated by: LCOV version 1.7