Your IP : 216.73.216.48
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMXULTextboxElement.idl
*/
#ifndef __gen_nsIDOMXULTextboxElement_h__
#define __gen_nsIDOMXULTextboxElement_h__
#ifndef __gen_nsIDOMXULLabeledControlEl_h__
#include "nsIDOMXULLabeledControlEl.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIDOMHTMLInputElement; /* forward declaration */
/* starting interface: nsIDOMXULTextBoxElement */
#define NS_IDOMXULTEXTBOXELEMENT_IID_STR "7edd8215-5155-4845-a02f-dc2c08645cb9"
#define NS_IDOMXULTEXTBOXELEMENT_IID \
{0x7edd8215, 0x5155, 0x4845, \
{ 0xa0, 0x2f, 0xdc, 0x2c, 0x08, 0x64, 0x5c, 0xb9 }}
class NS_NO_VTABLE nsIDOMXULTextBoxElement : public nsIDOMXULControlElement {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMXULTEXTBOXELEMENT_IID)
/* readonly attribute nsIDOMNode inputField; */
NS_IMETHOD GetInputField(nsIDOMNode * *aInputField) = 0;
/* readonly attribute long textLength; */
NS_IMETHOD GetTextLength(int32_t *aTextLength) = 0;
/* attribute long maxLength; */
NS_IMETHOD GetMaxLength(int32_t *aMaxLength) = 0;
NS_IMETHOD SetMaxLength(int32_t aMaxLength) = 0;
/* attribute long size; */
NS_IMETHOD GetSize(int32_t *aSize) = 0;
NS_IMETHOD SetSize(int32_t aSize) = 0;
/* attribute long selectionStart; */
NS_IMETHOD GetSelectionStart(int32_t *aSelectionStart) = 0;
NS_IMETHOD SetSelectionStart(int32_t aSelectionStart) = 0;
/* attribute long selectionEnd; */
NS_IMETHOD GetSelectionEnd(int32_t *aSelectionEnd) = 0;
NS_IMETHOD SetSelectionEnd(int32_t aSelectionEnd) = 0;
/* attribute DOMString value; */
NS_IMETHOD GetValue(nsAString & aValue) = 0;
NS_IMETHOD SetValue(const nsAString & aValue) = 0;
/* attribute DOMString type; */
NS_IMETHOD GetType(nsAString & aType) = 0;
NS_IMETHOD SetType(const nsAString & aType) = 0;
/* void select (); */
NS_IMETHOD Select(void) = 0;
/* void setSelectionRange (in long selectionStart, in long selectionEnd); */
NS_IMETHOD SetSelectionRange(int32_t selectionStart, int32_t selectionEnd) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMXULTextBoxElement, NS_IDOMXULTEXTBOXELEMENT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMXULTEXTBOXELEMENT \
NS_IMETHOD GetInputField(nsIDOMNode * *aInputField) override; \
NS_IMETHOD GetTextLength(int32_t *aTextLength) override; \
NS_IMETHOD GetMaxLength(int32_t *aMaxLength) override; \
NS_IMETHOD SetMaxLength(int32_t aMaxLength) override; \
NS_IMETHOD GetSize(int32_t *aSize) override; \
NS_IMETHOD SetSize(int32_t aSize) override; \
NS_IMETHOD GetSelectionStart(int32_t *aSelectionStart) override; \
NS_IMETHOD SetSelectionStart(int32_t aSelectionStart) override; \
NS_IMETHOD GetSelectionEnd(int32_t *aSelectionEnd) override; \
NS_IMETHOD SetSelectionEnd(int32_t aSelectionEnd) override; \
NS_IMETHOD GetValue(nsAString & aValue) override; \
NS_IMETHOD SetValue(const nsAString & aValue) override; \
NS_IMETHOD GetType(nsAString & aType) override; \
NS_IMETHOD SetType(const nsAString & aType) override; \
NS_IMETHOD Select(void) override; \
NS_IMETHOD SetSelectionRange(int32_t selectionStart, int32_t selectionEnd) 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_NSIDOMXULTEXTBOXELEMENT \
NS_METHOD GetInputField(nsIDOMNode * *aInputField); \
NS_METHOD GetTextLength(int32_t *aTextLength); \
NS_METHOD GetMaxLength(int32_t *aMaxLength); \
NS_METHOD SetMaxLength(int32_t aMaxLength); \
NS_METHOD GetSize(int32_t *aSize); \
NS_METHOD SetSize(int32_t aSize); \
NS_METHOD GetSelectionStart(int32_t *aSelectionStart); \
NS_METHOD SetSelectionStart(int32_t aSelectionStart); \
NS_METHOD GetSelectionEnd(int32_t *aSelectionEnd); \
NS_METHOD SetSelectionEnd(int32_t aSelectionEnd); \
NS_METHOD GetValue(nsAString & aValue); \
NS_METHOD SetValue(const nsAString & aValue); \
NS_METHOD GetType(nsAString & aType); \
NS_METHOD SetType(const nsAString & aType); \
NS_METHOD Select(void); \
NS_METHOD SetSelectionRange(int32_t selectionStart, int32_t selectionEnd);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMXULTEXTBOXELEMENT(_to) \
NS_IMETHOD GetInputField(nsIDOMNode * *aInputField) override { return _to GetInputField(aInputField); } \
NS_IMETHOD GetTextLength(int32_t *aTextLength) override { return _to GetTextLength(aTextLength); } \
NS_IMETHOD GetMaxLength(int32_t *aMaxLength) override { return _to GetMaxLength(aMaxLength); } \
NS_IMETHOD SetMaxLength(int32_t aMaxLength) override { return _to SetMaxLength(aMaxLength); } \
NS_IMETHOD GetSize(int32_t *aSize) override { return _to GetSize(aSize); } \
NS_IMETHOD SetSize(int32_t aSize) override { return _to SetSize(aSize); } \
NS_IMETHOD GetSelectionStart(int32_t *aSelectionStart) override { return _to GetSelectionStart(aSelectionStart); } \
NS_IMETHOD SetSelectionStart(int32_t aSelectionStart) override { return _to SetSelectionStart(aSelectionStart); } \
NS_IMETHOD GetSelectionEnd(int32_t *aSelectionEnd) override { return _to GetSelectionEnd(aSelectionEnd); } \
NS_IMETHOD SetSelectionEnd(int32_t aSelectionEnd) override { return _to SetSelectionEnd(aSelectionEnd); } \
NS_IMETHOD GetValue(nsAString & aValue) override { return _to GetValue(aValue); } \
NS_IMETHOD SetValue(const nsAString & aValue) override { return _to SetValue(aValue); } \
NS_IMETHOD GetType(nsAString & aType) override { return _to GetType(aType); } \
NS_IMETHOD SetType(const nsAString & aType) override { return _to SetType(aType); } \
NS_IMETHOD Select(void) override { return _to Select(); } \
NS_IMETHOD SetSelectionRange(int32_t selectionStart, int32_t selectionEnd) override { return _to SetSelectionRange(selectionStart, selectionEnd); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMXULTEXTBOXELEMENT(_to) \
NS_IMETHOD GetInputField(nsIDOMNode * *aInputField) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInputField(aInputField); } \
NS_IMETHOD GetTextLength(int32_t *aTextLength) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTextLength(aTextLength); } \
NS_IMETHOD GetMaxLength(int32_t *aMaxLength) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMaxLength(aMaxLength); } \
NS_IMETHOD SetMaxLength(int32_t aMaxLength) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMaxLength(aMaxLength); } \
NS_IMETHOD GetSize(int32_t *aSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSize(aSize); } \
NS_IMETHOD SetSize(int32_t aSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSize(aSize); } \
NS_IMETHOD GetSelectionStart(int32_t *aSelectionStart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectionStart(aSelectionStart); } \
NS_IMETHOD SetSelectionStart(int32_t aSelectionStart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSelectionStart(aSelectionStart); } \
NS_IMETHOD GetSelectionEnd(int32_t *aSelectionEnd) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectionEnd(aSelectionEnd); } \
NS_IMETHOD SetSelectionEnd(int32_t aSelectionEnd) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSelectionEnd(aSelectionEnd); } \
NS_IMETHOD GetValue(nsAString & aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
NS_IMETHOD SetValue(const nsAString & aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(aValue); } \
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 Select(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Select(); } \
NS_IMETHOD SetSelectionRange(int32_t selectionStart, int32_t selectionEnd) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSelectionRange(selectionStart, selectionEnd); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsDOMXULTextBoxElement : public nsIDOMXULTextBoxElement
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIDOMXULTEXTBOXELEMENT
nsDOMXULTextBoxElement();
private:
~nsDOMXULTextBoxElement();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsDOMXULTextBoxElement, nsIDOMXULTextBoxElement)
nsDOMXULTextBoxElement::nsDOMXULTextBoxElement()
{
/* member initializers and constructor code */
}
nsDOMXULTextBoxElement::~nsDOMXULTextBoxElement()
{
/* destructor code */
}
/* readonly attribute nsIDOMNode inputField; */
NS_IMETHODIMP nsDOMXULTextBoxElement::GetInputField(nsIDOMNode * *aInputField)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long textLength; */
NS_IMETHODIMP nsDOMXULTextBoxElement::GetTextLength(int32_t *aTextLength)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute long maxLength; */
NS_IMETHODIMP nsDOMXULTextBoxElement::GetMaxLength(int32_t *aMaxLength)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMXULTextBoxElement::SetMaxLength(int32_t aMaxLength)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute long size; */
NS_IMETHODIMP nsDOMXULTextBoxElement::GetSize(int32_t *aSize)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMXULTextBoxElement::SetSize(int32_t aSize)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute long selectionStart; */
NS_IMETHODIMP nsDOMXULTextBoxElement::GetSelectionStart(int32_t *aSelectionStart)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMXULTextBoxElement::SetSelectionStart(int32_t aSelectionStart)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute long selectionEnd; */
NS_IMETHODIMP nsDOMXULTextBoxElement::GetSelectionEnd(int32_t *aSelectionEnd)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMXULTextBoxElement::SetSelectionEnd(int32_t aSelectionEnd)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute DOMString value; */
NS_IMETHODIMP nsDOMXULTextBoxElement::GetValue(nsAString & aValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMXULTextBoxElement::SetValue(const nsAString & aValue)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute DOMString type; */
NS_IMETHODIMP nsDOMXULTextBoxElement::GetType(nsAString & aType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMXULTextBoxElement::SetType(const nsAString & aType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void select (); */
NS_IMETHODIMP nsDOMXULTextBoxElement::Select()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setSelectionRange (in long selectionStart, in long selectionEnd); */
NS_IMETHODIMP nsDOMXULTextBoxElement::SetSelectionRange(int32_t selectionStart, int32_t selectionEnd)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIDOMXULTextboxElement_h__ */