Pass in old values to property changed.

This commit is contained in:
putterman%netscape.com 1999-04-12 20:22:10 +00:00
Родитель 8874de1dc6
Коммит 938a9c1b01
2 изменённых файлов: 4 добавлений и 5 удалений

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

@ -8,7 +8,6 @@
#include "nsISupports.h" /* interface nsISupports */
#include "nsICollection.h" /* interface nsICollection */
#include "nsIEnumerator.h" /* interface nsIEnumerator */
#include "nsID.h" /* interface nsID */
#include "nsIFolder.h" /* interface nsIFolder */
#ifdef XPIDL_JS_STUBS
@ -16,7 +15,7 @@
#endif
class nsIFolder; /* forward decl */
/* starting interface: nsIFolderListener */
/* starting interface nsIFolderListener */
/* {1c5ef9f0-d1c0-11d2-94CA-006097222B83} */
#define NS_IFOLDERLISTENER_IID_STR "1c5ef9f0-d1c0-11d2-94CA-006097222B83"
@ -37,8 +36,8 @@ class nsIFolderListener : public nsISupports {
/* void OnItemRemoved (in nsIFolder parentFolder, in nsISupports item); */
NS_IMETHOD OnItemRemoved(nsIFolder *parentFolder, nsISupports *item) = 0;
/* void OnItemPropertyChanged (in nsISupports item, in string property, in string value); */
NS_IMETHOD OnItemPropertyChanged(nsISupports *item, const char *property, const char *value) = 0;
/* void OnItemPropertyChanged (in nsISupports item, in string property, in string oldValue, in string newValue); */
NS_IMETHOD OnItemPropertyChanged(nsISupports *item, const char *property, const char *oldValue, const char *newValue) = 0;
#ifdef XPIDL_JS_STUBS
static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx);

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

@ -26,6 +26,6 @@ interface nsIFolderListener : nsISupports {
void OnItemAdded(in nsIFolder parentFolder, in nsISupports item);
void OnItemRemoved(in nsIFolder parentFolder, in nsISupports item);
void OnItemPropertyChanged(in nsISupports item, in string property, in string value);
void OnItemPropertyChanged(in nsISupports item, in string property, in string oldValue, in string newValue);
};