LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIAccessibleVirtualCursorChangeEvent.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/nsIAccessibleVirtualCursorChangeEvent.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIAccessibleVirtualCursorChangeEvent_h__
       6             : #define __gen_nsIAccessibleVirtualCursorChangeEvent_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsIAccessibleEvent_h__
      10             : #include "nsIAccessibleEvent.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             : 
      18             : /* starting interface:    nsIAccessibleVirtualCursorChangeEvent */
      19             : #define NS_IACCESSIBLEVIRTUALCURSORCHANGEEVENT_IID_STR "a58693b1-009e-4cc9-ae93-9c7d8f85cfdf"
      20             : 
      21             : #define NS_IACCESSIBLEVIRTUALCURSORCHANGEEVENT_IID \
      22             :   {0xa58693b1, 0x009e, 0x4cc9, \
      23             :     { 0xae, 0x93, 0x9c, 0x7d, 0x8f, 0x85, 0xcf, 0xdf }}
      24             : 
      25           0 : class NS_NO_VTABLE nsIAccessibleVirtualCursorChangeEvent : public nsIAccessibleEvent {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLEVIRTUALCURSORCHANGEEVENT_IID)
      29             : 
      30             :   /* readonly attribute nsIAccessible oldAccessible; */
      31             :   NS_IMETHOD GetOldAccessible(nsIAccessible * *aOldAccessible) = 0;
      32             : 
      33             :   /* readonly attribute long oldStartOffset; */
      34             :   NS_IMETHOD GetOldStartOffset(int32_t *aOldStartOffset) = 0;
      35             : 
      36             :   /* readonly attribute long oldEndOffset; */
      37             :   NS_IMETHOD GetOldEndOffset(int32_t *aOldEndOffset) = 0;
      38             : 
      39             :   /* readonly attribute short reason; */
      40             :   NS_IMETHOD GetReason(int16_t *aReason) = 0;
      41             : 
      42             : };
      43             : 
      44             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleVirtualCursorChangeEvent, NS_IACCESSIBLEVIRTUALCURSORCHANGEEVENT_IID)
      45             : 
      46             : /* Use this macro when declaring classes that implement this interface. */
      47             : #define NS_DECL_NSIACCESSIBLEVIRTUALCURSORCHANGEEVENT \
      48             :   NS_IMETHOD GetOldAccessible(nsIAccessible * *aOldAccessible) override; \
      49             :   NS_IMETHOD GetOldStartOffset(int32_t *aOldStartOffset) override; \
      50             :   NS_IMETHOD GetOldEndOffset(int32_t *aOldEndOffset) override; \
      51             :   NS_IMETHOD GetReason(int16_t *aReason) override; 
      52             : 
      53             : /* Use this macro when declaring the members of this interface when the
      54             :    class doesn't implement the interface. This is useful for forwarding. */
      55             : #define NS_DECL_NON_VIRTUAL_NSIACCESSIBLEVIRTUALCURSORCHANGEEVENT \
      56             :   nsresult GetOldAccessible(nsIAccessible * *aOldAccessible); \
      57             :   nsresult GetOldStartOffset(int32_t *aOldStartOffset); \
      58             :   nsresult GetOldEndOffset(int32_t *aOldEndOffset); \
      59             :   nsresult GetReason(int16_t *aReason); 
      60             : 
      61             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      62             : #define NS_FORWARD_NSIACCESSIBLEVIRTUALCURSORCHANGEEVENT(_to) \
      63             :   NS_IMETHOD GetOldAccessible(nsIAccessible * *aOldAccessible) override { return _to GetOldAccessible(aOldAccessible); } \
      64             :   NS_IMETHOD GetOldStartOffset(int32_t *aOldStartOffset) override { return _to GetOldStartOffset(aOldStartOffset); } \
      65             :   NS_IMETHOD GetOldEndOffset(int32_t *aOldEndOffset) override { return _to GetOldEndOffset(aOldEndOffset); } \
      66             :   NS_IMETHOD GetReason(int16_t *aReason) override { return _to GetReason(aReason); } 
      67             : 
      68             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      69             : #define NS_FORWARD_SAFE_NSIACCESSIBLEVIRTUALCURSORCHANGEEVENT(_to) \
      70             :   NS_IMETHOD GetOldAccessible(nsIAccessible * *aOldAccessible) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOldAccessible(aOldAccessible); } \
      71             :   NS_IMETHOD GetOldStartOffset(int32_t *aOldStartOffset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOldStartOffset(aOldStartOffset); } \
      72             :   NS_IMETHOD GetOldEndOffset(int32_t *aOldEndOffset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOldEndOffset(aOldEndOffset); } \
      73             :   NS_IMETHOD GetReason(int16_t *aReason) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReason(aReason); } 
      74             : 
      75             : #if 0
      76             : /* Use the code below as a template for the implementation class for this interface. */
      77             : 
      78             : /* Header file */
      79             : class nsAccessibleVirtualCursorChangeEvent : public nsIAccessibleVirtualCursorChangeEvent
      80             : {
      81             : public:
      82             :   NS_DECL_ISUPPORTS
      83             :   NS_DECL_NSIACCESSIBLEVIRTUALCURSORCHANGEEVENT
      84             : 
      85             :   nsAccessibleVirtualCursorChangeEvent();
      86             : 
      87             : private:
      88             :   ~nsAccessibleVirtualCursorChangeEvent();
      89             : 
      90             : protected:
      91             :   /* additional members */
      92             : };
      93             : 
      94             : /* Implementation file */
      95             : NS_IMPL_ISUPPORTS(nsAccessibleVirtualCursorChangeEvent, nsIAccessibleVirtualCursorChangeEvent)
      96             : 
      97             : nsAccessibleVirtualCursorChangeEvent::nsAccessibleVirtualCursorChangeEvent()
      98             : {
      99             :   /* member initializers and constructor code */
     100             : }
     101             : 
     102             : nsAccessibleVirtualCursorChangeEvent::~nsAccessibleVirtualCursorChangeEvent()
     103             : {
     104             :   /* destructor code */
     105             : }
     106             : 
     107             : /* readonly attribute nsIAccessible oldAccessible; */
     108             : NS_IMETHODIMP nsAccessibleVirtualCursorChangeEvent::GetOldAccessible(nsIAccessible * *aOldAccessible)
     109             : {
     110             :     return NS_ERROR_NOT_IMPLEMENTED;
     111             : }
     112             : 
     113             : /* readonly attribute long oldStartOffset; */
     114             : NS_IMETHODIMP nsAccessibleVirtualCursorChangeEvent::GetOldStartOffset(int32_t *aOldStartOffset)
     115             : {
     116             :     return NS_ERROR_NOT_IMPLEMENTED;
     117             : }
     118             : 
     119             : /* readonly attribute long oldEndOffset; */
     120             : NS_IMETHODIMP nsAccessibleVirtualCursorChangeEvent::GetOldEndOffset(int32_t *aOldEndOffset)
     121             : {
     122             :     return NS_ERROR_NOT_IMPLEMENTED;
     123             : }
     124             : 
     125             : /* readonly attribute short reason; */
     126             : NS_IMETHODIMP nsAccessibleVirtualCursorChangeEvent::GetReason(int16_t *aReason)
     127             : {
     128             :     return NS_ERROR_NOT_IMPLEMENTED;
     129             : }
     130             : 
     131             : /* End of implementation class template. */
     132             : #endif
     133             : 
     134             : 
     135             : #endif /* __gen_nsIAccessibleVirtualCursorChangeEvent_h__ */

Generated by: LCOV version 1.13