Freezing nsIClassInfo interface. r=dbradley sr=shaver bug=99158

This commit is contained in:
dougt%netscape.com 2001-10-12 20:21:18 +00:00
Родитель 6459d3de6a
Коммит c7f382ca1f
1 изменённых файлов: 5 добавлений и 8 удалений

Просмотреть файл

@ -36,6 +36,11 @@
#include "nsISupports.idl" #include "nsISupports.idl"
#include "nsIProgrammingLanguage.idl" #include "nsIProgrammingLanguage.idl"
/**
* Provides information about a specific implementation class
* @status FROZEN
*/
[scriptable, uuid(986c11d0-f340-11d4-9075-0010a4e73d9a)] [scriptable, uuid(986c11d0-f340-11d4-9075-0010a4e73d9a)]
interface nsIClassInfo : nsISupports interface nsIClassInfo : nsISupports
{ {
@ -97,8 +102,6 @@ interface nsIClassInfo : nsISupports
const PRUint32 PLUGIN_OBJECT = 1 << 4; const PRUint32 PLUGIN_OBJECT = 1 << 4;
const PRUint32 EAGER_CLASSINFO = 1 << 5; const PRUint32 EAGER_CLASSINFO = 1 << 5;
// XXX what else might we want to add?
// The high order bit is RESERVED for consumers of these flags. // The high order bit is RESERVED for consumers of these flags.
// No implementor of this interface should ever return flags // No implementor of this interface should ever return flags
// with this bit set. // with this bit set.
@ -107,12 +110,6 @@ interface nsIClassInfo : nsISupports
readonly attribute PRUint32 flags; readonly attribute PRUint32 flags;
/////////////////////////////////////////////////////////////////////////
// The above methods and attributes existed in Netscape6.1 and mozilla0.9.2.
// New methods and attributes must be added to the *end* of the interface
// RESIST THE INCLINATION TO PLACE THEM ABOVE WHERE THEY *SEEM* TO BELONG.
/////////////////////////////////////////////////////////////////////////
/** /**
* Also a class ID through which an instance of this class can be created * Also a class ID through which an instance of this class can be created
* (or accessed as a service, if |flags & SINGLETON|). If the class does * (or accessed as a service, if |flags & SINGLETON|). If the class does