2015-05-03 22:32:37 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 21:42:36 +04:00
|
|
|
|
2001-04-01 05:17:43 +04:00
|
|
|
#ifndef nsIDOMClassInfo_h___
|
|
|
|
#define nsIDOMClassInfo_h___
|
|
|
|
|
2002-03-04 05:25:08 +03:00
|
|
|
#include "nsIXPCScriptable.h"
|
|
|
|
|
2007-05-09 16:04:59 +04:00
|
|
|
#define DOM_BASE_SCRIPTABLE_FLAGS \
|
2017-01-23 05:33:58 +03:00
|
|
|
(XPC_SCRIPTABLE_USE_JSSTUB_FOR_ADDPROPERTY | \
|
|
|
|
XPC_SCRIPTABLE_USE_JSSTUB_FOR_DELPROPERTY | \
|
|
|
|
XPC_SCRIPTABLE_USE_JSSTUB_FOR_SETPROPERTY | \
|
|
|
|
XPC_SCRIPTABLE_ALLOW_PROP_MODS_TO_PROTOTYPE | \
|
|
|
|
XPC_SCRIPTABLE_DONT_ASK_INSTANCE_FOR_SCRIPTABLE | \
|
|
|
|
XPC_SCRIPTABLE_DONT_REFLECT_INTERFACE_NAMES)
|
2007-05-09 16:04:59 +04:00
|
|
|
|
|
|
|
#define DEFAULT_SCRIPTABLE_FLAGS \
|
|
|
|
(DOM_BASE_SCRIPTABLE_FLAGS | \
|
2017-01-23 05:33:58 +03:00
|
|
|
XPC_SCRIPTABLE_WANT_RESOLVE | \
|
|
|
|
XPC_SCRIPTABLE_WANT_PRECREATE)
|
2002-03-04 05:25:08 +03:00
|
|
|
|
|
|
|
#define DOM_DEFAULT_SCRIPTABLE_FLAGS \
|
|
|
|
(DEFAULT_SCRIPTABLE_FLAGS | \
|
2017-01-23 05:33:58 +03:00
|
|
|
XPC_SCRIPTABLE_DONT_ENUM_QUERY_INTERFACE | \
|
|
|
|
XPC_SCRIPTABLE_CLASSINFO_INTERFACES_ONLY)
|
2002-03-04 05:25:08 +03:00
|
|
|
|
2001-04-01 05:17:43 +04:00
|
|
|
#endif /* nsIDOMClassInfo_h___ */
|