LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIAccessibilityService.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 2 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIAccessibilityService.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIAccessibilityService_h__
       6             : #define __gen_nsIAccessibilityService_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 nsIAccessiblePivot; /* forward declaration */
      26             : 
      27             : 
      28             : /* starting interface:    nsIAccessibilityService */
      29             : #define NS_IACCESSIBILITYSERVICE_IID_STR "9a6f80fe-25cc-405c-9f8f-25869bc9f94e"
      30             : 
      31             : #define NS_IACCESSIBILITYSERVICE_IID \
      32             :   {0x9a6f80fe, 0x25cc, 0x405c, \
      33             :     { 0x9f, 0x8f, 0x25, 0x86, 0x9b, 0xc9, 0xf9, 0x4e }}
      34             : 
      35           0 : class NS_NO_VTABLE nsIAccessibilityService : public nsISupports {
      36             :  public:
      37             : 
      38             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBILITYSERVICE_IID)
      39             : 
      40             :   /* nsIAccessible getApplicationAccessible (); */
      41             :   NS_IMETHOD GetApplicationAccessible(nsIAccessible * *_retval) = 0;
      42             : 
      43             :   /* nsIAccessible getAccessibleFor (in nsIDOMNode aNode); */
      44             :   NS_IMETHOD GetAccessibleFor(nsIDOMNode *aNode, nsIAccessible * *_retval) = 0;
      45             : 
      46             :   /* AString getStringRole (in unsigned long aRole); */
      47             :   NS_IMETHOD GetStringRole(uint32_t aRole, nsAString & _retval) = 0;
      48             : 
      49             :   /* nsISupports getStringStates (in unsigned long aStates, in unsigned long aExtraStates); */
      50             :   NS_IMETHOD GetStringStates(uint32_t aStates, uint32_t aExtraStates, nsISupports * *_retval) = 0;
      51             : 
      52             :   /* AString getStringEventType (in unsigned long aEventType); */
      53             :   NS_IMETHOD GetStringEventType(uint32_t aEventType, nsAString & _retval) = 0;
      54             : 
      55             :   /* AString getStringRelationType (in unsigned long aRelationType); */
      56             :   NS_IMETHOD GetStringRelationType(uint32_t aRelationType, nsAString & _retval) = 0;
      57             : 
      58             :   /* nsIAccessible getAccessibleFromCache (in nsIDOMNode aNode); */
      59             :   NS_IMETHOD GetAccessibleFromCache(nsIDOMNode *aNode, nsIAccessible * *_retval) = 0;
      60             : 
      61             :   /* nsIAccessiblePivot createAccessiblePivot (in nsIAccessible aRoot); */
      62             :   NS_IMETHOD CreateAccessiblePivot(nsIAccessible *aRoot, nsIAccessiblePivot * *_retval) = 0;
      63             : 
      64             :   /* void setLogging (in ACString aModules); */
      65             :   NS_IMETHOD SetLogging(const nsACString & aModules) = 0;
      66             : 
      67             :   /* boolean isLogged (in AString aModule); */
      68             :   NS_IMETHOD IsLogged(const nsAString & aModule, bool *_retval) = 0;
      69             : 
      70             : };
      71             : 
      72             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibilityService, NS_IACCESSIBILITYSERVICE_IID)
      73             : 
      74             : /* Use this macro when declaring classes that implement this interface. */
      75             : #define NS_DECL_NSIACCESSIBILITYSERVICE \
      76             :   NS_IMETHOD GetApplicationAccessible(nsIAccessible * *_retval) override; \
      77             :   NS_IMETHOD GetAccessibleFor(nsIDOMNode *aNode, nsIAccessible * *_retval) override; \
      78             :   NS_IMETHOD GetStringRole(uint32_t aRole, nsAString & _retval) override; \
      79             :   NS_IMETHOD GetStringStates(uint32_t aStates, uint32_t aExtraStates, nsISupports * *_retval) override; \
      80             :   NS_IMETHOD GetStringEventType(uint32_t aEventType, nsAString & _retval) override; \
      81             :   NS_IMETHOD GetStringRelationType(uint32_t aRelationType, nsAString & _retval) override; \
      82             :   NS_IMETHOD GetAccessibleFromCache(nsIDOMNode *aNode, nsIAccessible * *_retval) override; \
      83             :   NS_IMETHOD CreateAccessiblePivot(nsIAccessible *aRoot, nsIAccessiblePivot * *_retval) override; \
      84             :   NS_IMETHOD SetLogging(const nsACString & aModules) override; \
      85             :   NS_IMETHOD IsLogged(const nsAString & aModule, bool *_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_NSIACCESSIBILITYSERVICE \
      90             :   nsresult GetApplicationAccessible(nsIAccessible * *_retval); \
      91             :   nsresult GetAccessibleFor(nsIDOMNode *aNode, nsIAccessible * *_retval); \
      92             :   nsresult GetStringRole(uint32_t aRole, nsAString & _retval); \
      93             :   nsresult GetStringStates(uint32_t aStates, uint32_t aExtraStates, nsISupports * *_retval); \
      94             :   nsresult GetStringEventType(uint32_t aEventType, nsAString & _retval); \
      95             :   nsresult GetStringRelationType(uint32_t aRelationType, nsAString & _retval); \
      96             :   nsresult GetAccessibleFromCache(nsIDOMNode *aNode, nsIAccessible * *_retval); \
      97             :   nsresult CreateAccessiblePivot(nsIAccessible *aRoot, nsIAccessiblePivot * *_retval); \
      98             :   nsresult SetLogging(const nsACString & aModules); \
      99             :   nsresult IsLogged(const nsAString & aModule, bool *_retval); 
     100             : 
     101             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     102             : #define NS_FORWARD_NSIACCESSIBILITYSERVICE(_to) \
     103             :   NS_IMETHOD GetApplicationAccessible(nsIAccessible * *_retval) override { return _to GetApplicationAccessible(_retval); } \
     104             :   NS_IMETHOD GetAccessibleFor(nsIDOMNode *aNode, nsIAccessible * *_retval) override { return _to GetAccessibleFor(aNode, _retval); } \
     105             :   NS_IMETHOD GetStringRole(uint32_t aRole, nsAString & _retval) override { return _to GetStringRole(aRole, _retval); } \
     106             :   NS_IMETHOD GetStringStates(uint32_t aStates, uint32_t aExtraStates, nsISupports * *_retval) override { return _to GetStringStates(aStates, aExtraStates, _retval); } \
     107             :   NS_IMETHOD GetStringEventType(uint32_t aEventType, nsAString & _retval) override { return _to GetStringEventType(aEventType, _retval); } \
     108             :   NS_IMETHOD GetStringRelationType(uint32_t aRelationType, nsAString & _retval) override { return _to GetStringRelationType(aRelationType, _retval); } \
     109             :   NS_IMETHOD GetAccessibleFromCache(nsIDOMNode *aNode, nsIAccessible * *_retval) override { return _to GetAccessibleFromCache(aNode, _retval); } \
     110             :   NS_IMETHOD CreateAccessiblePivot(nsIAccessible *aRoot, nsIAccessiblePivot * *_retval) override { return _to CreateAccessiblePivot(aRoot, _retval); } \
     111             :   NS_IMETHOD SetLogging(const nsACString & aModules) override { return _to SetLogging(aModules); } \
     112             :   NS_IMETHOD IsLogged(const nsAString & aModule, bool *_retval) override { return _to IsLogged(aModule, _retval); } 
     113             : 
     114             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     115             : #define NS_FORWARD_SAFE_NSIACCESSIBILITYSERVICE(_to) \
     116             :   NS_IMETHOD GetApplicationAccessible(nsIAccessible * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetApplicationAccessible(_retval); } \
     117             :   NS_IMETHOD GetAccessibleFor(nsIDOMNode *aNode, nsIAccessible * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccessibleFor(aNode, _retval); } \
     118             :   NS_IMETHOD GetStringRole(uint32_t aRole, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStringRole(aRole, _retval); } \
     119             :   NS_IMETHOD GetStringStates(uint32_t aStates, uint32_t aExtraStates, nsISupports * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStringStates(aStates, aExtraStates, _retval); } \
     120             :   NS_IMETHOD GetStringEventType(uint32_t aEventType, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStringEventType(aEventType, _retval); } \
     121             :   NS_IMETHOD GetStringRelationType(uint32_t aRelationType, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStringRelationType(aRelationType, _retval); } \
     122             :   NS_IMETHOD GetAccessibleFromCache(nsIDOMNode *aNode, nsIAccessible * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccessibleFromCache(aNode, _retval); } \
     123             :   NS_IMETHOD CreateAccessiblePivot(nsIAccessible *aRoot, nsIAccessiblePivot * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateAccessiblePivot(aRoot, _retval); } \
     124             :   NS_IMETHOD SetLogging(const nsACString & aModules) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLogging(aModules); } \
     125             :   NS_IMETHOD IsLogged(const nsAString & aModule, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsLogged(aModule, _retval); } 
     126             : 
     127             : #if 0
     128             : /* Use the code below as a template for the implementation class for this interface. */
     129             : 
     130             : /* Header file */
     131             : class nsAccessibilityService : public nsIAccessibilityService
     132             : {
     133             : public:
     134             :   NS_DECL_ISUPPORTS
     135             :   NS_DECL_NSIACCESSIBILITYSERVICE
     136             : 
     137             :   nsAccessibilityService();
     138             : 
     139             : private:
     140             :   ~nsAccessibilityService();
     141             : 
     142             : protected:
     143             :   /* additional members */
     144             : };
     145             : 
     146             : /* Implementation file */
     147             : NS_IMPL_ISUPPORTS(nsAccessibilityService, nsIAccessibilityService)
     148             : 
     149             : nsAccessibilityService::nsAccessibilityService()
     150             : {
     151             :   /* member initializers and constructor code */
     152             : }
     153             : 
     154             : nsAccessibilityService::~nsAccessibilityService()
     155             : {
     156             :   /* destructor code */
     157             : }
     158             : 
     159             : /* nsIAccessible getApplicationAccessible (); */
     160             : NS_IMETHODIMP nsAccessibilityService::GetApplicationAccessible(nsIAccessible * *_retval)
     161             : {
     162             :     return NS_ERROR_NOT_IMPLEMENTED;
     163             : }
     164             : 
     165             : /* nsIAccessible getAccessibleFor (in nsIDOMNode aNode); */
     166             : NS_IMETHODIMP nsAccessibilityService::GetAccessibleFor(nsIDOMNode *aNode, nsIAccessible * *_retval)
     167             : {
     168             :     return NS_ERROR_NOT_IMPLEMENTED;
     169             : }
     170             : 
     171             : /* AString getStringRole (in unsigned long aRole); */
     172             : NS_IMETHODIMP nsAccessibilityService::GetStringRole(uint32_t aRole, nsAString & _retval)
     173             : {
     174             :     return NS_ERROR_NOT_IMPLEMENTED;
     175             : }
     176             : 
     177             : /* nsISupports getStringStates (in unsigned long aStates, in unsigned long aExtraStates); */
     178             : NS_IMETHODIMP nsAccessibilityService::GetStringStates(uint32_t aStates, uint32_t aExtraStates, nsISupports * *_retval)
     179             : {
     180             :     return NS_ERROR_NOT_IMPLEMENTED;
     181             : }
     182             : 
     183             : /* AString getStringEventType (in unsigned long aEventType); */
     184             : NS_IMETHODIMP nsAccessibilityService::GetStringEventType(uint32_t aEventType, nsAString & _retval)
     185             : {
     186             :     return NS_ERROR_NOT_IMPLEMENTED;
     187             : }
     188             : 
     189             : /* AString getStringRelationType (in unsigned long aRelationType); */
     190             : NS_IMETHODIMP nsAccessibilityService::GetStringRelationType(uint32_t aRelationType, nsAString & _retval)
     191             : {
     192             :     return NS_ERROR_NOT_IMPLEMENTED;
     193             : }
     194             : 
     195             : /* nsIAccessible getAccessibleFromCache (in nsIDOMNode aNode); */
     196             : NS_IMETHODIMP nsAccessibilityService::GetAccessibleFromCache(nsIDOMNode *aNode, nsIAccessible * *_retval)
     197             : {
     198             :     return NS_ERROR_NOT_IMPLEMENTED;
     199             : }
     200             : 
     201             : /* nsIAccessiblePivot createAccessiblePivot (in nsIAccessible aRoot); */
     202             : NS_IMETHODIMP nsAccessibilityService::CreateAccessiblePivot(nsIAccessible *aRoot, nsIAccessiblePivot * *_retval)
     203             : {
     204             :     return NS_ERROR_NOT_IMPLEMENTED;
     205             : }
     206             : 
     207             : /* void setLogging (in ACString aModules); */
     208             : NS_IMETHODIMP nsAccessibilityService::SetLogging(const nsACString & aModules)
     209             : {
     210             :     return NS_ERROR_NOT_IMPLEMENTED;
     211             : }
     212             : 
     213             : /* boolean isLogged (in AString aModule); */
     214             : NS_IMETHODIMP nsAccessibilityService::IsLogged(const nsAString & aModule, bool *_retval)
     215             : {
     216             :     return NS_ERROR_NOT_IMPLEMENTED;
     217             : }
     218             : 
     219             : /* End of implementation class template. */
     220             : #endif
     221             : 
     222             : 
     223             : /* starting interface:    nsIAccessibleRetrieval */
     224             : #define NS_IACCESSIBLERETRIEVAL_IID_STR "d85e0cbe-47ce-490c-8488-f821dd2be0c2"
     225             : 
     226             : #define NS_IACCESSIBLERETRIEVAL_IID \
     227             :   {0xd85e0cbe, 0x47ce, 0x490c, \
     228             :     { 0x84, 0x88, 0xf8, 0x21, 0xdd, 0x2b, 0xe0, 0xc2 }}
     229             : 
     230           0 : class NS_NO_VTABLE nsIAccessibleRetrieval : public nsIAccessibilityService {
     231             :  public:
     232             : 
     233             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLERETRIEVAL_IID)
     234             : 
     235             : };
     236             : 
     237             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleRetrieval, NS_IACCESSIBLERETRIEVAL_IID)
     238             : 
     239             : /* Use this macro when declaring classes that implement this interface. */
     240             : #define NS_DECL_NSIACCESSIBLERETRIEVAL \
     241             :   /* no methods! */
     242             : 
     243             : /* Use this macro when declaring the members of this interface when the
     244             :    class doesn't implement the interface. This is useful for forwarding. */
     245             : #define NS_DECL_NON_VIRTUAL_NSIACCESSIBLERETRIEVAL \
     246             :   /* no methods! */
     247             : 
     248             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     249             : #define NS_FORWARD_NSIACCESSIBLERETRIEVAL(_to) \
     250             :   /* no methods! */
     251             : 
     252             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     253             : #define NS_FORWARD_SAFE_NSIACCESSIBLERETRIEVAL(_to) \
     254             :   /* no methods! */
     255             : 
     256             : #if 0
     257             : /* Use the code below as a template for the implementation class for this interface. */
     258             : 
     259             : /* Header file */
     260             : class nsAccessibleRetrieval : public nsIAccessibleRetrieval
     261             : {
     262             : public:
     263             :   NS_DECL_ISUPPORTS
     264             :   NS_DECL_NSIACCESSIBLERETRIEVAL
     265             : 
     266             :   nsAccessibleRetrieval();
     267             : 
     268             : private:
     269             :   ~nsAccessibleRetrieval();
     270             : 
     271             : protected:
     272             :   /* additional members */
     273             : };
     274             : 
     275             : /* Implementation file */
     276             : NS_IMPL_ISUPPORTS(nsAccessibleRetrieval, nsIAccessibleRetrieval)
     277             : 
     278             : nsAccessibleRetrieval::nsAccessibleRetrieval()
     279             : {
     280             :   /* member initializers and constructor code */
     281             : }
     282             : 
     283             : nsAccessibleRetrieval::~nsAccessibleRetrieval()
     284             : {
     285             :   /* destructor code */
     286             : }
     287             : 
     288             : /* End of implementation class template. */
     289             : #endif
     290             : 
     291             : 
     292             : #endif /* __gen_nsIAccessibilityService_h__ */

Generated by: LCOV version 1.13