⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nsidomrange.h

📁 linux下的一款播放器
💻 H
📖 第 1 页 / 共 2 页
字号:
/* * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMRange.idl */#ifndef __gen_nsIDOMRange_h__#define __gen_nsIDOMRange_h__#ifndef __gen_domstubs_h__#include "domstubs.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:    nsIDOMRange */#define NS_IDOMRANGE_IID_STR "a6cf90ce-15b3-11d2-932e-00805f8add32"#define NS_IDOMRANGE_IID \  {0xa6cf90ce, 0x15b3, 0x11d2, \    { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}class NS_NO_VTABLE nsIDOMRange : public nsISupports { public:   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMRANGE_IID)  /** * The nsIDOMRange interface is an interface to a DOM range object. * * For more information on this interface please see * http://www.w3.org/TR/DOM-Level-2-Traversal-Range/ * * @status FROZEN */  /* readonly attribute nsIDOMNode startContainer; */  NS_IMETHOD GetStartContainer(nsIDOMNode * *aStartContainer) = 0;  /* readonly attribute long startOffset; */  NS_IMETHOD GetStartOffset(PRInt32 *aStartOffset) = 0;  /* readonly attribute nsIDOMNode endContainer; */  NS_IMETHOD GetEndContainer(nsIDOMNode * *aEndContainer) = 0;  /* readonly attribute long endOffset; */  NS_IMETHOD GetEndOffset(PRInt32 *aEndOffset) = 0;  /* readonly attribute boolean collapsed; */  NS_IMETHOD GetCollapsed(PRBool *aCollapsed) = 0;  /* readonly attribute nsIDOMNode commonAncestorContainer; */  NS_IMETHOD GetCommonAncestorContainer(nsIDOMNode * *aCommonAncestorContainer) = 0;  /* void setStart (in nsIDOMNode refNode, in long offset)  raises (RangeException, DOMException); */  NS_IMETHOD SetStart(nsIDOMNode *refNode, PRInt32 offset) = 0;  /* void setEnd (in nsIDOMNode refNode, in long offset)  raises (RangeException, DOMException); */  NS_IMETHOD SetEnd(nsIDOMNode *refNode, PRInt32 offset) = 0;  /* void setStartBefore (in nsIDOMNode refNode)  raises (RangeException, DOMException); */  NS_IMETHOD SetStartBefore(nsIDOMNode *refNode) = 0;  /* void setStartAfter (in nsIDOMNode refNode)  raises (RangeException, DOMException); */  NS_IMETHOD SetStartAfter(nsIDOMNode *refNode) = 0;  /* void setEndBefore (in nsIDOMNode refNode)  raises (RangeException, DOMException); */  NS_IMETHOD SetEndBefore(nsIDOMNode *refNode) = 0;  /* void setEndAfter (in nsIDOMNode refNode)  raises (RangeException, DOMException); */  NS_IMETHOD SetEndAfter(nsIDOMNode *refNode) = 0;  /* void collapse (in boolean toStart)  raises (DOMException); */  NS_IMETHOD Collapse(PRBool toStart) = 0;  /* void selectNode (in nsIDOMNode refNode)  raises (RangeException, DOMException); */  NS_IMETHOD SelectNode(nsIDOMNode *refNode) = 0;  /* void selectNodeContents (in nsIDOMNode refNode)  raises (RangeException, DOMException); */  NS_IMETHOD SelectNodeContents(nsIDOMNode *refNode) = 0;  enum { START_TO_START = 0U };  enum { START_TO_END = 1U };  enum { END_TO_END = 2U };  enum { END_TO_START = 3U };  /* short compareBoundaryPoints (in unsigned short how, in nsIDOMRange sourceRange)  raises (DOMException); */  NS_IMETHOD CompareBoundaryPoints(PRUint16 how, nsIDOMRange *sourceRange, PRInt16 *_retval) = 0;  /* void deleteContents ()  raises (DOMException); */  NS_IMETHOD DeleteContents(void) = 0;  /* nsIDOMDocumentFragment extractContents ()  raises (DOMException); */  NS_IMETHOD ExtractContents(nsIDOMDocumentFragment **_retval) = 0;  /* nsIDOMDocumentFragment cloneContents ()  raises (DOMException); */  NS_IMETHOD CloneContents(nsIDOMDocumentFragment **_retval) = 0;  /* void insertNode (in nsIDOMNode newNode)  raises (DOMException, RangeException); */  NS_IMETHOD InsertNode(nsIDOMNode *newNode) = 0;  /* void surroundContents (in nsIDOMNode newParent)  raises (DOMException, RangeException); */  NS_IMETHOD SurroundContents(nsIDOMNode *newParent) = 0;  /* nsIDOMRange cloneRange ()  raises (DOMException); */  NS_IMETHOD CloneRange(nsIDOMRange **_retval) = 0;  /* DOMString toString ()  raises (DOMException); */  NS_IMETHOD ToString(nsAString & _retval) = 0;  /* void detach ()  raises (DOMException); */  NS_IMETHOD Detach(void) = 0;};/* Use this macro when declaring classes that implement this interface. */#define NS_DECL_NSIDOMRANGE \  NS_IMETHOD GetStartContainer(nsIDOMNode * *aStartContainer); \  NS_IMETHOD GetStartOffset(PRInt32 *aStartOffset); \  NS_IMETHOD GetEndContainer(nsIDOMNode * *aEndContainer); \  NS_IMETHOD GetEndOffset(PRInt32 *aEndOffset); \  NS_IMETHOD GetCollapsed(PRBool *aCollapsed); \  NS_IMETHOD GetCommonAncestorContainer(nsIDOMNode * *aCommonAncestorContainer); \  NS_IMETHOD SetStart(nsIDOMNode *refNode, PRInt32 offset); \  NS_IMETHOD SetEnd(nsIDOMNode *refNode, PRInt32 offset); \  NS_IMETHOD SetStartBefore(nsIDOMNode *refNode); \  NS_IMETHOD SetStartAfter(nsIDOMNode *refNode); \  NS_IMETHOD SetEndBefore(nsIDOMNode *refNode); \  NS_IMETHOD SetEndAfter(nsIDOMNode *refNode); \  NS_IMETHOD Collapse(PRBool toStart); \  NS_IMETHOD SelectNode(nsIDOMNode *refNode); \  NS_IMETHOD SelectNodeContents(nsIDOMNode *refNode); \  NS_IMETHOD CompareBoundaryPoints(PRUint16 how, nsIDOMRange *sourceRange, PRInt16 *_retval); \  NS_IMETHOD DeleteContents(void); \  NS_IMETHOD ExtractContents(nsIDOMDocumentFragment **_retval); \  NS_IMETHOD CloneContents(nsIDOMDocumentFragment **_retval); \  NS_IMETHOD InsertNode(nsIDOMNode *newNode); \  NS_IMETHOD SurroundContents(nsIDOMNode *newParent); \  NS_IMETHOD CloneRange(nsIDOMRange **_retval); \  NS_IMETHOD ToString(nsAString & _retval); \  NS_IMETHOD Detach(void); /* Use this macro to declare functions that forward the behavior of this interface to another object. */#define NS_FORWARD_NSIDOMRANGE(_to) \  NS_IMETHOD GetStartContainer(nsIDOMNode * *aStartContainer) { return _to GetStartContainer(aStartContainer); } \  NS_IMETHOD GetStartOffset(PRInt32 *aStartOffset) { return _to GetStartOffset(aStartOffset); } \  NS_IMETHOD GetEndContainer(nsIDOMNode * *aEndContainer) { return _to GetEndContainer(aEndContainer); } \  NS_IMETHOD GetEndOffset(PRInt32 *aEndOffset) { return _to GetEndOffset(aEndOffset); } \  NS_IMETHOD GetCollapsed(PRBool *aCollapsed) { return _to GetCollapsed(aCollapsed); } \  NS_IMETHOD GetCommonAncestorContainer(nsIDOMNode * *aCommonAncestorContainer) { return _to GetCommonAncestorContainer(aCommonAncestorContainer); } \  NS_IMETHOD SetStart(nsIDOMNode *refNode, PRInt32 offset) { return _to SetStart(refNode, offset); } \  NS_IMETHOD SetEnd(nsIDOMNode *refNode, PRInt32 offset) { return _to SetEnd(refNode, offset); } \  NS_IMETHOD SetStartBefore(nsIDOMNode *refNode) { return _to SetStartBefore(refNode); } \  NS_IMETHOD SetStartAfter(nsIDOMNode *refNode) { return _to SetStartAfter(refNode); } \  NS_IMETHOD SetEndBefore(nsIDOMNode *refNode) { return _to SetEndBefore(refNode); } \  NS_IMETHOD SetEndAfter(nsIDOMNode *refNode) { return _to SetEndAfter(refNode); } \  NS_IMETHOD Collapse(PRBool toStart) { return _to Collapse(toStart); } \  NS_IMETHOD SelectNode(nsIDOMNode *refNode) { return _to SelectNode(refNode); } \  NS_IMETHOD SelectNodeContents(nsIDOMNode *refNode) { return _to SelectNodeContents(refNode); } \  NS_IMETHOD CompareBoundaryPoints(PRUint16 how, nsIDOMRange *sourceRange, PRInt16 *_retval) { return _to CompareBoundaryPoints(how, sourceRange, _retval); } \  NS_IMETHOD DeleteContents(void) { return _to DeleteContents(); } \  NS_IMETHOD ExtractContents(nsIDOMDocumentFragment **_retval) { return _to ExtractContents(_retval); } \  NS_IMETHOD CloneContents(nsIDOMDocumentFragment **_retval) { return _to CloneContents(_retval); } \  NS_IMETHOD InsertNode(nsIDOMNode *newNode) { return _to InsertNode(newNode); } \  NS_IMETHOD SurroundContents(nsIDOMNode *newParent) { return _to SurroundContents(newParent); } \  NS_IMETHOD CloneRange(nsIDOMRange **_retval) { return _to CloneRange(_retval); } \  NS_IMETHOD ToString(nsAString & _retval) { return _to ToString(_retval); } \  NS_IMETHOD Detach(void) { return _to Detach(); } /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */#define NS_FORWARD_SAFE_NSIDOMRANGE(_to) \  NS_IMETHOD GetStartContainer(nsIDOMNode * *aStartContainer) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStartContainer(aStartContainer); } \  NS_IMETHOD GetStartOffset(PRInt32 *aStartOffset) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStartOffset(aStartOffset); } \  NS_IMETHOD GetEndContainer(nsIDOMNode * *aEndContainer) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEndContainer(aEndContainer); } \  NS_IMETHOD GetEndOffset(PRInt32 *aEndOffset) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEndOffset(aEndOffset); } \  NS_IMETHOD GetCollapsed(PRBool *aCollapsed) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCollapsed(aCollapsed); } \  NS_IMETHOD GetCommonAncestorContainer(nsIDOMNode * *aCommonAncestorContainer) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCommonAncestorContainer(aCommonAncestorContainer); } \  NS_IMETHOD SetStart(nsIDOMNode *refNode, PRInt32 offset) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStart(refNode, offset); } \  NS_IMETHOD SetEnd(nsIDOMNode *refNode, PRInt32 offset) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEnd(refNode, offset); } \  NS_IMETHOD SetStartBefore(nsIDOMNode *refNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStartBefore(refNode); } \  NS_IMETHOD SetStartAfter(nsIDOMNode *refNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStartAfter(refNode); } \  NS_IMETHOD SetEndBefore(nsIDOMNode *refNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEndBefore(refNode); } \  NS_IMETHOD SetEndAfter(nsIDOMNode *refNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEndAfter(refNode); } \  NS_IMETHOD Collapse(PRBool toStart) { return !_to ? NS_ERROR_NULL_POINTER : _to->Collapse(toStart); } \  NS_IMETHOD SelectNode(nsIDOMNode *refNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectNode(refNode); } \

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -