xpcomutil.h

来自「属性sosuo算法」· C头文件 代码 · 共 21 行

H
21
字号
#ifndef XPCOM_UTIL_H#define XPCOM_UTIL_H#include <nscore.h>#include <nsString.h>#include <nsIDOMEvent.h>#include <nsIDOMElement.h>/* Walk up the DOM tree, starting with startNode, until an element has * attributeName set.  Return that element, or nsnull if nothing was found. */nsresult searchUpForElementWithAttribute(nsIDOMNode* startNode,        nsAString& attributeName, nsIDOMElement** retval);/* Walk up the DOM tree, starting with target of event, until an element has * attributeName set.  Return that element, or nsnull if nothing was found. */nsresult searchUpForElementWithAttribute(nsIDOMEvent* event,         nsAString& attributeName, nsIDOMElement** retval);#endif /* XPCOM_UTIL_H */

⌨️ 快捷键说明

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