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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/mozilla/dom/interfaces/xul/nsIDOMXULButtonElement.idl
 */

#ifndef __gen_nsIDOMXULButtonElement_h__
#define __gen_nsIDOMXULButtonElement_h__


#ifndef __gen_nsIDOMXULLabeledControlEl_h__
#include "nsIDOMXULLabeledControlEl.h"
#endif

#include "js/GCAnnotations.h"

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

/* starting interface:    nsIDOMXULButtonElement */
#define NS_IDOMXULBUTTONELEMENT_IID_STR "6ed53cfb-9e59-424c-af8d-e74582381951"

#define NS_IDOMXULBUTTONELEMENT_IID \
  {0x6ed53cfb, 0x9e59, 0x424c, \
    { 0xaf, 0x8d, 0xe7, 0x45, 0x82, 0x38, 0x19, 0x51 }}

class NS_NO_VTABLE nsIDOMXULButtonElement : public nsIDOMXULLabeledControlElement {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMXULBUTTONELEMENT_IID)

  /* attribute DOMString type; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetType(nsAString& aType) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetType(const nsAString& aType) = 0;

  /* attribute DOMString dlgType; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDlgType(nsAString& aDlgType) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetDlgType(const nsAString& aDlgType) = 0;

  /* attribute boolean open; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetOpen(bool *aOpen) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetOpen(bool aOpen) = 0;

  /* attribute boolean checked; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetChecked(bool *aChecked) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetChecked(bool aChecked) = 0;

  /* attribute DOMString group; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetGroup(nsAString& aGroup) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetGroup(const nsAString& aGroup) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMXULButtonElement, NS_IDOMXULBUTTONELEMENT_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMXULBUTTONELEMENT \
  NS_IMETHOD GetType(nsAString& aType) override; \
  NS_IMETHOD SetType(const nsAString& aType) override; \
  NS_IMETHOD GetDlgType(nsAString& aDlgType) override; \
  NS_IMETHOD SetDlgType(const nsAString& aDlgType) override; \
  NS_IMETHOD GetOpen(bool *aOpen) override; \
  NS_IMETHOD SetOpen(bool aOpen) override; \
  NS_IMETHOD GetChecked(bool *aChecked) override; \
  NS_IMETHOD SetChecked(bool aChecked) override; \
  NS_IMETHOD GetGroup(nsAString& aGroup) override; \
  NS_IMETHOD SetGroup(const nsAString& aGroup) 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_NSIDOMXULBUTTONELEMENT \
  nsresult GetType(nsAString& aType); \
  nsresult SetType(const nsAString& aType); \
  nsresult GetDlgType(nsAString& aDlgType); \
  nsresult SetDlgType(const nsAString& aDlgType); \
  nsresult GetOpen(bool *aOpen); \
  nsresult SetOpen(bool aOpen); \
  nsresult GetChecked(bool *aChecked); \
  nsresult SetChecked(bool aChecked); \
  nsresult GetGroup(nsAString& aGroup); \
  nsresult SetGroup(const nsAString& aGroup); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMXULBUTTONELEMENT(_to) \
  NS_IMETHOD GetType(nsAString& aType) override { return _to GetType(aType); } \
  NS_IMETHOD SetType(const nsAString& aType) override { return _to SetType(aType); } \
  NS_IMETHOD GetDlgType(nsAString& aDlgType) override { return _to GetDlgType(aDlgType); } \
  NS_IMETHOD SetDlgType(const nsAString& aDlgType) override { return _to SetDlgType(aDlgType); } \
  NS_IMETHOD GetOpen(bool *aOpen) override { return _to GetOpen(aOpen); } \
  NS_IMETHOD SetOpen(bool aOpen) override { return _to SetOpen(aOpen); } \
  NS_IMETHOD GetChecked(bool *aChecked) override { return _to GetChecked(aChecked); } \
  NS_IMETHOD SetChecked(bool aChecked) override { return _to SetChecked(aChecked); } \
  NS_IMETHOD GetGroup(nsAString& aGroup) override { return _to GetGroup(aGroup); } \
  NS_IMETHOD SetGroup(const nsAString& aGroup) override { return _to SetGroup(aGroup); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMXULBUTTONELEMENT(_to) \
  NS_IMETHOD GetType(nsAString& aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
  NS_IMETHOD SetType(const nsAString& aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
  NS_IMETHOD GetDlgType(nsAString& aDlgType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDlgType(aDlgType); } \
  NS_IMETHOD SetDlgType(const nsAString& aDlgType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDlgType(aDlgType); } \
  NS_IMETHOD GetOpen(bool *aOpen) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOpen(aOpen); } \
  NS_IMETHOD SetOpen(bool aOpen) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOpen(aOpen); } \
  NS_IMETHOD GetChecked(bool *aChecked) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChecked(aChecked); } \
  NS_IMETHOD SetChecked(bool aChecked) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetChecked(aChecked); } \
  NS_IMETHOD GetGroup(nsAString& aGroup) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetGroup(aGroup); } \
  NS_IMETHOD SetGroup(const nsAString& aGroup) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetGroup(aGroup); } 


#endif /* __gen_nsIDOMXULButtonElement_h__ */