add nsIEnumerator interface, and fix nsICollection interface to use long not int

This commit is contained in:
alecf%netscape.com 1999-02-26 17:57:34 +00:00
parent 51d9e33467
commit c5c155b7b5
3 changed files with 3 additions and 2 deletions

View File

@ -22,7 +22,7 @@
[uuid(83b6019c-cbc4-11d2-8cca-0060b0fc14a3)]
interface nsICollection : nsISupports {
readonly attribute unsigned int count; // XXX wrong
readonly attribute unsigned long count; // XXX wrong
void AppendElement(in nsISupports element);
void RemoveElement(in nsISupports element);

View File

@ -30,6 +30,7 @@ IDLSRCS = \
nsIBaseStream.idl \
nsIInputStream.idl \
nsICollection.idl \
nsIEnumerator.idl \
$(NULL)
# for testing purposes

View File

@ -22,7 +22,7 @@
[uuid(83b6019c-cbc4-11d2-8cca-0060b0fc14a3)]
interface nsICollection : nsISupports {
readonly attribute unsigned int count; // XXX wrong
readonly attribute unsigned long count; // XXX wrong
void AppendElement(in nsISupports element);
void RemoveElement(in nsISupports element);