DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/comm-central/accessible/interfaces/nsIAccessibleScrollingEvent.idl
 */

#ifndef __gen_nsIAccessibleScrollingEvent_h__
#define __gen_nsIAccessibleScrollingEvent_h__


#ifndef __gen_nsIAccessibleEvent_h__
#include "nsIAccessibleEvent.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif

/* starting interface:    nsIAccessibleScrollingEvent */
#define NS_IACCESSIBLESCROLLINGEVENT_IID_STR "f75f0b32-5342-4d60-b1a5-b7bd6888eef5"

#define NS_IACCESSIBLESCROLLINGEVENT_IID \
  {0xf75f0b32, 0x5342, 0x4d60, \
    { 0xb1, 0xa5, 0xb7, 0xbd, 0x68, 0x88, 0xee, 0xf5 }}

class NS_NO_VTABLE nsIAccessibleScrollingEvent : public nsIAccessibleEvent {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLESCROLLINGEVENT_IID)

  /* readonly attribute unsigned long scrollX; */
  NS_IMETHOD GetScrollX(uint32_t *aScrollX) = 0;

  /* readonly attribute unsigned long scrollY; */
  NS_IMETHOD GetScrollY(uint32_t *aScrollY) = 0;

  /* readonly attribute unsigned long maxScrollX; */
  NS_IMETHOD GetMaxScrollX(uint32_t *aMaxScrollX) = 0;

  /* readonly attribute unsigned long maxScrollY; */
  NS_IMETHOD GetMaxScrollY(uint32_t *aMaxScrollY) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleScrollingEvent, NS_IACCESSIBLESCROLLINGEVENT_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIACCESSIBLESCROLLINGEVENT \
  NS_IMETHOD GetScrollX(uint32_t *aScrollX) override; \
  NS_IMETHOD GetScrollY(uint32_t *aScrollY) override; \
  NS_IMETHOD GetMaxScrollX(uint32_t *aMaxScrollX) override; \
  NS_IMETHOD GetMaxScrollY(uint32_t *aMaxScrollY) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIACCESSIBLESCROLLINGEVENT \
  nsresult GetScrollX(uint32_t *aScrollX); \
  nsresult GetScrollY(uint32_t *aScrollY); \
  nsresult GetMaxScrollX(uint32_t *aMaxScrollX); \
  nsresult GetMaxScrollY(uint32_t *aMaxScrollY); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIACCESSIBLESCROLLINGEVENT(_to) \
  NS_IMETHOD GetScrollX(uint32_t *aScrollX) override { return _to GetScrollX(aScrollX); } \
  NS_IMETHOD GetScrollY(uint32_t *aScrollY) override { return _to GetScrollY(aScrollY); } \
  NS_IMETHOD GetMaxScrollX(uint32_t *aMaxScrollX) override { return _to GetMaxScrollX(aMaxScrollX); } \
  NS_IMETHOD GetMaxScrollY(uint32_t *aMaxScrollY) override { return _to GetMaxScrollY(aMaxScrollY); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIACCESSIBLESCROLLINGEVENT(_to) \
  NS_IMETHOD GetScrollX(uint32_t *aScrollX) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScrollX(aScrollX); } \
  NS_IMETHOD GetScrollY(uint32_t *aScrollY) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScrollY(aScrollY); } \
  NS_IMETHOD GetMaxScrollX(uint32_t *aMaxScrollX) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMaxScrollX(aMaxScrollX); } \
  NS_IMETHOD GetMaxScrollY(uint32_t *aMaxScrollY) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMaxScrollY(aMaxScrollY); } 


#endif /* __gen_nsIAccessibleScrollingEvent_h__ */