📄 domstubs.idl
字号:
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- *//* ***** BEGIN LICENSE BLOCK ***** * Version: NPL 1.1/GPL 2.0/LGPL 2.1 * * 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/ * * 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. * * The Original Code is mozilla.org code. * * The Initial Developer of the Original Code is * Netscape Communications Corporation. * Portions created by the Initial Developer are Copyright (C) 2000 * the Initial Developer. All Rights Reserved. * * Contributor(s): * Vidur Apparao <vidur@netscape.com> (original author) * Johnny Stenback <jst@netscape.com> * * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), * in which case the provisions of the GPL or the LGPL are applicable instead * of those above. If you wish to allow use of your version of this file only * under the terms of either the GPL or the LGPL, and not to allow others to * use your version of this file under the terms of the NPL, indicate your * decision by deleting the provisions above and replace them with the notice * and other provisions required by the GPL or the LGPL. If you do not delete * the provisions above, a recipient may use your version of this file under * the terms of any one of the NPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */#include "nsISupports.idl"%{ C++#include "nsAString.h"inline PRBool DOMStringIsNull(const nsAString& aString){ return aString.IsVoid();}inline void SetDOMStringToNull(nsAString& aString){ aString.Truncate(); aString.SetIsVoid(PR_TRUE);}%}typedef unsigned long long DOMTimeStamp;// Coreinterface nsIDOMAttr;interface nsIDOMCDATASection;interface nsIDOMCharacterData;interface nsIDOMComment;interface nsIDOMDOMImplementation;interface nsIDOMDocument;interface nsIDOMDocumentFragment;interface nsIDOMDocumentType;interface nsIDOMElement;interface nsIDOMEntity;interface nsIDOMEntityReference;interface nsIDOMNSDocument;interface nsIDOMNamedNodeMap;interface nsIDOMNode;interface nsIDOMNodeList;interface nsIDOMNotation;interface nsIDOMProcessingInstruction;interface nsIDOMText;// Needed for raises() in our IDLinterface DOMException;interface RangeException;// Style Sheetsinterface nsIDOMStyleSheetList;interface nsIDOMLinkStyle;interface nsIDOMStyleSheet;interface nsIDOMMediaList;// Viewsinterface nsIDOMAbstractView;interface nsIDOMDocumentView;// Baseinterface nsIDOMWindow;interface nsIDOMWindowInternal;interface nsIDOMWindowCollection;interface nsIDOMPlugin;interface nsIDOMPluginArray;interface nsIDOMMimeType;interface nsIDOMMimeTypeArray;interface nsIDOMBarProp;interface nsIDOMNavigator;interface nsIDOMScreen;interface nsIDOMHistory;// Eventsinterface nsIDOMEvent;interface nsIDOMEventTarget;interface nsIDOMEventListener;interface nsIDOMEventGroup;// HTMLinterface nsIDOMHTMLElement;interface nsIDOMHTMLFormElement;interface nsIDOMHTMLCollection;// CSSinterface nsIDOMCSSValue;interface nsIDOMCSSValueList;interface nsIDOMCSSPrimitiveValue;interface nsIDOMCSSRule;interface nsIDOMCSSRuleList;interface nsIDOMCSSStyleSheet;interface nsIDOMCSSStyleDeclaration;interface nsIDOMCounter;interface nsIDOMRect;interface nsIDOMRGBColor;interface nsIDOMCSSStyleRule;interface nsIDOMCSSStyleRuleCollection;interface nsIDOMHTMLTableCaptionElement;interface nsIDOMHTMLTableSectionElement;// Rangeinterface nsIDOMRange;// Cryptointerface nsIDOMCRMFObject;interface nsIDOMCrypto;interface nsIDOMPkcs11;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -