1998-07-15 20:54:19 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
1999-11-25 02:58:43 +03:00
|
|
|
* The contents of this file are subject to the Netscape Public
|
|
|
|
* License Version 1.1 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.mozilla.org/NPL/
|
1998-07-15 20:54:19 +04:00
|
|
|
*
|
1999-11-25 02:58:43 +03:00
|
|
|
* Software distributed under the License is distributed on an "AS
|
|
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
* implied. See the License for the specific language governing
|
|
|
|
* rights and limitations under the License.
|
1998-07-15 20:54:19 +04:00
|
|
|
*
|
1999-11-25 02:58:43 +03:00
|
|
|
* The Original Code is mozilla.org code.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is Netscape
|
1998-07-15 20:54:19 +04:00
|
|
|
* Communications Corporation. Portions created by Netscape are
|
1999-11-25 02:58:43 +03:00
|
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
* Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
1998-07-15 20:54:19 +04:00
|
|
|
*/
|
|
|
|
/* AUTO-GENERATED. DO NOT EDIT!!! */
|
|
|
|
|
|
|
|
#ifndef nsIDOMHTMLAreaElement_h__
|
|
|
|
#define nsIDOMHTMLAreaElement_h__
|
|
|
|
|
|
|
|
#include "nsISupports.h"
|
|
|
|
#include "nsString.h"
|
|
|
|
#include "nsIScriptContext.h"
|
|
|
|
#include "nsIDOMHTMLElement.h"
|
|
|
|
|
|
|
|
|
|
|
|
#define NS_IDOMHTMLAREAELEMENT_IID \
|
1998-10-20 21:07:23 +04:00
|
|
|
{ 0xa6cf90b0, 0x15b3, 0x11d2, \
|
|
|
|
{ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 } }
|
1998-07-15 20:54:19 +04:00
|
|
|
|
2000-12-20 00:08:55 +03:00
|
|
|
class NS_NO_VTABLE nsIDOMHTMLAreaElement : public nsIDOMHTMLElement {
|
1998-07-15 20:54:19 +04:00
|
|
|
public:
|
2000-12-21 03:41:00 +03:00
|
|
|
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLAREAELEMENT_IID)
|
1998-07-15 20:54:19 +04:00
|
|
|
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey)=0;
|
|
|
|
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey)=0;
|
1998-07-15 20:54:19 +04:00
|
|
|
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetAlt(nsAWritableString& aAlt)=0;
|
|
|
|
NS_IMETHOD SetAlt(const nsAReadableString& aAlt)=0;
|
1998-07-15 20:54:19 +04:00
|
|
|
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetCoords(nsAWritableString& aCoords)=0;
|
|
|
|
NS_IMETHOD SetCoords(const nsAReadableString& aCoords)=0;
|
1998-07-15 20:54:19 +04:00
|
|
|
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetHref(nsAWritableString& aHref)=0;
|
|
|
|
NS_IMETHOD SetHref(const nsAReadableString& aHref)=0;
|
1998-07-15 20:54:19 +04:00
|
|
|
|
|
|
|
NS_IMETHOD GetNoHref(PRBool* aNoHref)=0;
|
|
|
|
NS_IMETHOD SetNoHref(PRBool aNoHref)=0;
|
|
|
|
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetShape(nsAWritableString& aShape)=0;
|
|
|
|
NS_IMETHOD SetShape(const nsAReadableString& aShape)=0;
|
1998-07-15 20:54:19 +04:00
|
|
|
|
|
|
|
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex)=0;
|
|
|
|
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex)=0;
|
|
|
|
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetTarget(nsAWritableString& aTarget)=0;
|
|
|
|
NS_IMETHOD SetTarget(const nsAReadableString& aTarget)=0;
|
1998-07-15 20:54:19 +04:00
|
|
|
};
|
|
|
|
|
1998-08-04 04:08:29 +04:00
|
|
|
|
|
|
|
#define NS_DECL_IDOMHTMLAREAELEMENT \
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey); \
|
|
|
|
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey); \
|
|
|
|
NS_IMETHOD GetAlt(nsAWritableString& aAlt); \
|
|
|
|
NS_IMETHOD SetAlt(const nsAReadableString& aAlt); \
|
|
|
|
NS_IMETHOD GetCoords(nsAWritableString& aCoords); \
|
|
|
|
NS_IMETHOD SetCoords(const nsAReadableString& aCoords); \
|
|
|
|
NS_IMETHOD GetHref(nsAWritableString& aHref); \
|
|
|
|
NS_IMETHOD SetHref(const nsAReadableString& aHref); \
|
1998-08-04 04:08:29 +04:00
|
|
|
NS_IMETHOD GetNoHref(PRBool* aNoHref); \
|
|
|
|
NS_IMETHOD SetNoHref(PRBool aNoHref); \
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetShape(nsAWritableString& aShape); \
|
|
|
|
NS_IMETHOD SetShape(const nsAReadableString& aShape); \
|
1998-08-04 04:08:29 +04:00
|
|
|
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex); \
|
|
|
|
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex); \
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetTarget(nsAWritableString& aTarget); \
|
|
|
|
NS_IMETHOD SetTarget(const nsAReadableString& aTarget); \
|
1998-08-04 04:08:29 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
1998-08-12 21:57:25 +04:00
|
|
|
#define NS_FORWARD_IDOMHTMLAREAELEMENT(_to) \
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey) { return _to GetAccessKey(aAccessKey); } \
|
|
|
|
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey) { return _to SetAccessKey(aAccessKey); } \
|
|
|
|
NS_IMETHOD GetAlt(nsAWritableString& aAlt) { return _to GetAlt(aAlt); } \
|
|
|
|
NS_IMETHOD SetAlt(const nsAReadableString& aAlt) { return _to SetAlt(aAlt); } \
|
|
|
|
NS_IMETHOD GetCoords(nsAWritableString& aCoords) { return _to GetCoords(aCoords); } \
|
|
|
|
NS_IMETHOD SetCoords(const nsAReadableString& aCoords) { return _to SetCoords(aCoords); } \
|
|
|
|
NS_IMETHOD GetHref(nsAWritableString& aHref) { return _to GetHref(aHref); } \
|
|
|
|
NS_IMETHOD SetHref(const nsAReadableString& aHref) { return _to SetHref(aHref); } \
|
1999-04-16 22:08:20 +04:00
|
|
|
NS_IMETHOD GetNoHref(PRBool* aNoHref) { return _to GetNoHref(aNoHref); } \
|
|
|
|
NS_IMETHOD SetNoHref(PRBool aNoHref) { return _to SetNoHref(aNoHref); } \
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetShape(nsAWritableString& aShape) { return _to GetShape(aShape); } \
|
|
|
|
NS_IMETHOD SetShape(const nsAReadableString& aShape) { return _to SetShape(aShape); } \
|
1999-04-16 22:08:20 +04:00
|
|
|
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex) { return _to GetTabIndex(aTabIndex); } \
|
|
|
|
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex) { return _to SetTabIndex(aTabIndex); } \
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetTarget(nsAWritableString& aTarget) { return _to GetTarget(aTarget); } \
|
|
|
|
NS_IMETHOD SetTarget(const nsAReadableString& aTarget) { return _to SetTarget(aTarget); } \
|
1998-08-04 04:08:29 +04:00
|
|
|
|
|
|
|
|
1999-02-17 11:33:27 +03:00
|
|
|
extern "C" NS_DOM nsresult NS_InitHTMLAreaElementClass(nsIScriptContext *aContext, void **aPrototype);
|
1998-07-15 20:54:19 +04:00
|
|
|
|
1998-09-05 03:03:16 +04:00
|
|
|
extern "C" NS_DOM nsresult NS_NewScriptHTMLAreaElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
1998-07-15 20:54:19 +04:00
|
|
|
|
|
|
|
#endif // nsIDOMHTMLAreaElement_h__
|