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/nsIDOMXULLabeledControlEl.idl
 */

#ifndef __gen_nsIDOMXULLabeledControlEl_h__
#define __gen_nsIDOMXULLabeledControlEl_h__


#ifndef __gen_nsIDOMXULControlElement_h__
#include "nsIDOMXULControlElement.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:    nsIDOMXULLabeledControlElement */
#define NS_IDOMXULLABELEDCONTROLELEMENT_IID_STR "c58a159f-e27d-40c8-865a-d4dcfd928f62"

#define NS_IDOMXULLABELEDCONTROLELEMENT_IID \
  {0xc58a159f, 0xe27d, 0x40c8, \
    { 0x86, 0x5a, 0xd4, 0xdc, 0xfd, 0x92, 0x8f, 0x62 }}

class NS_NO_VTABLE nsIDOMXULLabeledControlElement : public nsIDOMXULControlElement {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMXULLABELEDCONTROLELEMENT_IID)

  /* attribute DOMString crop; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCrop(nsAString& aCrop) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetCrop(const nsAString& aCrop) = 0;

  /* attribute DOMString image; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetImage(nsAString& aImage) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetImage(const nsAString& aImage) = 0;

  /* attribute DOMString label; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLabel(nsAString& aLabel) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetLabel(const nsAString& aLabel) = 0;

  /* attribute DOMString accessKey; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAccessKey(nsAString& aAccessKey) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetAccessKey(const nsAString& aAccessKey) = 0;

  /* attribute DOMString command; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCommand(nsAString& aCommand) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetCommand(const nsAString& aCommand) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMXULLabeledControlElement, NS_IDOMXULLABELEDCONTROLELEMENT_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMXULLABELEDCONTROLELEMENT \
  NS_IMETHOD GetCrop(nsAString& aCrop) override; \
  NS_IMETHOD SetCrop(const nsAString& aCrop) override; \
  NS_IMETHOD GetImage(nsAString& aImage) override; \
  NS_IMETHOD SetImage(const nsAString& aImage) override; \
  NS_IMETHOD GetLabel(nsAString& aLabel) override; \
  NS_IMETHOD SetLabel(const nsAString& aLabel) override; \
  NS_IMETHOD GetAccessKey(nsAString& aAccessKey) override; \
  NS_IMETHOD SetAccessKey(const nsAString& aAccessKey) override; \
  NS_IMETHOD GetCommand(nsAString& aCommand) override; \
  NS_IMETHOD SetCommand(const nsAString& aCommand) 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_NSIDOMXULLABELEDCONTROLELEMENT \
  nsresult GetCrop(nsAString& aCrop); \
  nsresult SetCrop(const nsAString& aCrop); \
  nsresult GetImage(nsAString& aImage); \
  nsresult SetImage(const nsAString& aImage); \
  nsresult GetLabel(nsAString& aLabel); \
  nsresult SetLabel(const nsAString& aLabel); \
  nsresult GetAccessKey(nsAString& aAccessKey); \
  nsresult SetAccessKey(const nsAString& aAccessKey); \
  nsresult GetCommand(nsAString& aCommand); \
  nsresult SetCommand(const nsAString& aCommand); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMXULLABELEDCONTROLELEMENT(_to) \
  NS_IMETHOD GetCrop(nsAString& aCrop) override { return _to GetCrop(aCrop); } \
  NS_IMETHOD SetCrop(const nsAString& aCrop) override { return _to SetCrop(aCrop); } \
  NS_IMETHOD GetImage(nsAString& aImage) override { return _to GetImage(aImage); } \
  NS_IMETHOD SetImage(const nsAString& aImage) override { return _to SetImage(aImage); } \
  NS_IMETHOD GetLabel(nsAString& aLabel) override { return _to GetLabel(aLabel); } \
  NS_IMETHOD SetLabel(const nsAString& aLabel) override { return _to SetLabel(aLabel); } \
  NS_IMETHOD GetAccessKey(nsAString& aAccessKey) override { return _to GetAccessKey(aAccessKey); } \
  NS_IMETHOD SetAccessKey(const nsAString& aAccessKey) override { return _to SetAccessKey(aAccessKey); } \
  NS_IMETHOD GetCommand(nsAString& aCommand) override { return _to GetCommand(aCommand); } \
  NS_IMETHOD SetCommand(const nsAString& aCommand) override { return _to SetCommand(aCommand); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMXULLABELEDCONTROLELEMENT(_to) \
  NS_IMETHOD GetCrop(nsAString& aCrop) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCrop(aCrop); } \
  NS_IMETHOD SetCrop(const nsAString& aCrop) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCrop(aCrop); } \
  NS_IMETHOD GetImage(nsAString& aImage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImage(aImage); } \
  NS_IMETHOD SetImage(const nsAString& aImage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetImage(aImage); } \
  NS_IMETHOD GetLabel(nsAString& aLabel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLabel(aLabel); } \
  NS_IMETHOD SetLabel(const nsAString& aLabel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLabel(aLabel); } \
  NS_IMETHOD GetAccessKey(nsAString& aAccessKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccessKey(aAccessKey); } \
  NS_IMETHOD SetAccessKey(const nsAString& aAccessKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAccessKey(aAccessKey); } \
  NS_IMETHOD GetCommand(nsAString& aCommand) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCommand(aCommand); } \
  NS_IMETHOD SetCommand(const nsAString& aCommand) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCommand(aCommand); } 


#endif /* __gen_nsIDOMXULLabeledControlEl_h__ */