📄 nsidomhtmlembedelement.h
字号:
/* * DO NOT EDIT. THIS FILE IS GENERATED FROM nsIDOMHTMLEmbedElement.idl */#ifndef __gen_nsIDOMHTMLEmbedElement_h__#define __gen_nsIDOMHTMLEmbedElement_h__#ifndef __gen_nsIDOMHTMLElement_h__#include "nsIDOMHTMLElement.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: nsIDOMHTMLEmbedElement */#define NS_IDOMHTMLEMBEDELEMENT_IID_STR "123f90ab-15b3-11d2-456e-00805f8add32"#define NS_IDOMHTMLEMBEDELEMENT_IID \ {0x123f90ab, 0x15b3, 0x11d2, \ { 0x45, 0x6e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}/** * The nsIDOMHTMLEmbedElement interface is the interface to a [X]HTML * embed element. * * Note that this is not a W3C standard interface, it is Mozilla * proprietary. * * @status FROZEN */class NS_NO_VTABLE nsIDOMHTMLEmbedElement : public nsIDOMHTMLElement { public: NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLEMBEDELEMENT_IID) /* attribute DOMString align; */ NS_IMETHOD GetAlign(nsAString & aAlign) = 0; NS_IMETHOD SetAlign(const nsAString & aAlign) = 0; /* attribute DOMString height; */ NS_IMETHOD GetHeight(nsAString & aHeight) = 0; NS_IMETHOD SetHeight(const nsAString & aHeight) = 0; /* attribute DOMString name; */ NS_IMETHOD GetName(nsAString & aName) = 0; NS_IMETHOD SetName(const nsAString & aName) = 0; /* attribute DOMString src; */ NS_IMETHOD GetSrc(nsAString & aSrc) = 0; NS_IMETHOD SetSrc(const nsAString & aSrc) = 0; /* attribute DOMString type; */ NS_IMETHOD GetType(nsAString & aType) = 0; NS_IMETHOD SetType(const nsAString & aType) = 0; /* attribute DOMString width; */ NS_IMETHOD GetWidth(nsAString & aWidth) = 0; NS_IMETHOD SetWidth(const nsAString & aWidth) = 0;};/* Use this macro when declaring classes that implement this interface. */#define NS_DECL_NSIDOMHTMLEMBEDELEMENT \ NS_IMETHOD GetAlign(nsAString & aAlign); \ NS_IMETHOD SetAlign(const nsAString & aAlign); \ NS_IMETHOD GetHeight(nsAString & aHeight); \ NS_IMETHOD SetHeight(const nsAString & aHeight); \ NS_IMETHOD GetName(nsAString & aName); \ NS_IMETHOD SetName(const nsAString & aName); \ NS_IMETHOD GetSrc(nsAString & aSrc); \ NS_IMETHOD SetSrc(const nsAString & aSrc); \ NS_IMETHOD GetType(nsAString & aType); \ NS_IMETHOD SetType(const nsAString & aType); \ NS_IMETHOD GetWidth(nsAString & aWidth); \ NS_IMETHOD SetWidth(const nsAString & aWidth); /* Use this macro to declare functions that forward the behavior of this interface to another object. */#define NS_FORWARD_NSIDOMHTMLEMBEDELEMENT(_to) \ NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \ NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); } \ NS_IMETHOD GetHeight(nsAString & aHeight) { return _to GetHeight(aHeight); } \ NS_IMETHOD SetHeight(const nsAString & aHeight) { return _to SetHeight(aHeight); } \ NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \ NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \ NS_IMETHOD GetSrc(nsAString & aSrc) { return _to GetSrc(aSrc); } \ NS_IMETHOD SetSrc(const nsAString & aSrc) { return _to SetSrc(aSrc); } \ NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \ NS_IMETHOD SetType(const nsAString & aType) { return _to SetType(aType); } \ NS_IMETHOD GetWidth(nsAString & aWidth) { return _to GetWidth(aWidth); } \ NS_IMETHOD SetWidth(const nsAString & aWidth) { return _to SetWidth(aWidth); } /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */#define NS_FORWARD_SAFE_NSIDOMHTMLEMBEDELEMENT(_to) \ NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \ NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } \ NS_IMETHOD GetHeight(nsAString & aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \ NS_IMETHOD SetHeight(const nsAString & aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHeight(aHeight); } \ NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \ NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \ NS_IMETHOD GetSrc(nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSrc(aSrc); } \ NS_IMETHOD SetSrc(const nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSrc(aSrc); } \ NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \ NS_IMETHOD SetType(const nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \ NS_IMETHOD GetWidth(nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \ NS_IMETHOD SetWidth(const nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWidth(aWidth); } #if 0/* Use the code below as a template for the implementation class for this interface. *//* Header file */class nsDOMHTMLEmbedElement : public nsIDOMHTMLEmbedElement{public: NS_DECL_ISUPPORTS NS_DECL_NSIDOMHTMLEMBEDELEMENT nsDOMHTMLEmbedElement(); virtual ~nsDOMHTMLEmbedElement(); /* additional members */};/* Implementation file */NS_IMPL_ISUPPORTS1(nsDOMHTMLEmbedElement, nsIDOMHTMLEmbedElement)nsDOMHTMLEmbedElement::nsDOMHTMLEmbedElement(){ /* member initializers and constructor code */}nsDOMHTMLEmbedElement::~nsDOMHTMLEmbedElement(){ /* destructor code */}/* attribute DOMString align; */NS_IMETHODIMP nsDOMHTMLEmbedElement::GetAlign(nsAString & aAlign){ return NS_ERROR_NOT_IMPLEMENTED;}NS_IMETHODIMP nsDOMHTMLEmbedElement::SetAlign(const nsAString & aAlign){ return NS_ERROR_NOT_IMPLEMENTED;}/* attribute DOMString height; */NS_IMETHODIMP nsDOMHTMLEmbedElement::GetHeight(nsAString & aHeight){ return NS_ERROR_NOT_IMPLEMENTED;}NS_IMETHODIMP nsDOMHTMLEmbedElement::SetHeight(const nsAString & aHeight){ return NS_ERROR_NOT_IMPLEMENTED;}/* attribute DOMString name; */NS_IMETHODIMP nsDOMHTMLEmbedElement::GetName(nsAString & aName){ return NS_ERROR_NOT_IMPLEMENTED;}NS_IMETHODIMP nsDOMHTMLEmbedElement::SetName(const nsAString & aName){ return NS_ERROR_NOT_IMPLEMENTED;}/* attribute DOMString src; */NS_IMETHODIMP nsDOMHTMLEmbedElement::GetSrc(nsAString & aSrc){ return NS_ERROR_NOT_IMPLEMENTED;}NS_IMETHODIMP nsDOMHTMLEmbedElement::SetSrc(const nsAString & aSrc){ return NS_ERROR_NOT_IMPLEMENTED;}/* attribute DOMString type; */NS_IMETHODIMP nsDOMHTMLEmbedElement::GetType(nsAString & aType){ return NS_ERROR_NOT_IMPLEMENTED;}NS_IMETHODIMP nsDOMHTMLEmbedElement::SetType(const nsAString & aType){ return NS_ERROR_NOT_IMPLEMENTED;}/* attribute DOMString width; */NS_IMETHODIMP nsDOMHTMLEmbedElement::GetWidth(nsAString & aWidth){ return NS_ERROR_NOT_IMPLEMENTED;}NS_IMETHODIMP nsDOMHTMLEmbedElement::SetWidth(const nsAString & aWidth){ return NS_ERROR_NOT_IMPLEMENTED;}/* End of implementation class template. */#endif#endif /* __gen_nsIDOMHTMLEmbedElement_h__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -