зеркало из https://github.com/mozilla/pjs.git
Flag changed methods.
This commit is contained in:
Родитель
471a3bdd37
Коммит
299cdcad15
|
@ -6,13 +6,14 @@
|
|||
#define __gen_nsIFolderListener_h__
|
||||
|
||||
#include "nsISupports.h" /* interface nsISupports */
|
||||
#include "nsrootidl.h" /* interface nsrootidl */
|
||||
|
||||
#ifdef XPIDL_JS_STUBS
|
||||
#include "jsapi.h"
|
||||
#endif
|
||||
class nsIFolder; /* forward decl */
|
||||
|
||||
#include "nsrootidl.h" /* interface nsrootidl */
|
||||
|
||||
/* starting interface: nsIFolderListener */
|
||||
|
||||
/* {1c5ef9f0-d1c0-11d2-94CA-006097222B83} */
|
||||
|
@ -34,6 +35,9 @@ class nsIFolderListener : public nsISupports {
|
|||
/* 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;
|
||||
|
||||
/* void OnItemPropertyFlagChanged (in nsISupports item, in string property, in unsigned long oldFlag, in unsigned long newFlag); */
|
||||
NS_IMETHOD OnItemPropertyFlagChanged(nsISupports *item, const char *property, PRUint32 oldFlag, PRUint32 newFlag) = 0;
|
||||
|
||||
#ifdef XPIDL_JS_STUBS
|
||||
static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx);
|
||||
static NS_EXPORT_(JSObject *) GetJSObject(JSContext *cx, nsIFolderListener *priv);
|
||||
|
|
|
@ -26,5 +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 oldValue, in string newValue);
|
||||
|
||||
void OnItemPropertyFlagChanged(in nsISupports item, in string property, in unsigned long oldFlag,
|
||||
in unsigned long newFlag);
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче