2015-05-03 19:32:37 +00: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 11:12:37 +00: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 17:42:36 +00:00
|
|
|
|
2001-04-01 01:17:43 +00:00
|
|
|
#ifndef nsIDOMClassInfo_h___
|
|
|
|
#define nsIDOMClassInfo_h___
|
|
|
|
|
2002-03-04 02:25:08 +00:00
|
|
|
#include "nsIXPCScriptable.h"
|
|
|
|
|
2007-05-09 12:04:59 +00:00
|
|
|
#define DOM_BASE_SCRIPTABLE_FLAGS \
|
2002-03-04 02:25:08 +00:00
|
|
|
(nsIXPCScriptable::USE_JSSTUB_FOR_ADDPROPERTY | \
|
|
|
|
nsIXPCScriptable::USE_JSSTUB_FOR_DELPROPERTY | \
|
|
|
|
nsIXPCScriptable::USE_JSSTUB_FOR_SETPROPERTY | \
|
|
|
|
nsIXPCScriptable::ALLOW_PROP_MODS_TO_PROTOTYPE | \
|
|
|
|
nsIXPCScriptable::DONT_ASK_INSTANCE_FOR_SCRIPTABLE | \
|
2007-05-09 12:04:59 +00:00
|
|
|
nsIXPCScriptable::DONT_REFLECT_INTERFACE_NAMES)
|
|
|
|
|
|
|
|
#define DEFAULT_SCRIPTABLE_FLAGS \
|
|
|
|
(DOM_BASE_SCRIPTABLE_FLAGS | \
|
2014-11-08 00:07:12 +00:00
|
|
|
nsIXPCScriptable::WANT_RESOLVE | \
|
2009-06-03 15:30:18 +00:00
|
|
|
nsIXPCScriptable::WANT_PRECREATE)
|
2002-03-04 02:25:08 +00:00
|
|
|
|
|
|
|
#define DOM_DEFAULT_SCRIPTABLE_FLAGS \
|
|
|
|
(DEFAULT_SCRIPTABLE_FLAGS | \
|
|
|
|
nsIXPCScriptable::DONT_ENUM_QUERY_INTERFACE | \
|
|
|
|
nsIXPCScriptable::CLASSINFO_INTERFACES_ONLY)
|
|
|
|
|
2001-04-01 01:17:43 +00:00
|
|
|
#endif /* nsIDOMClassInfo_h___ */
|