This commit is contained in:
putterman%netscape.com 1999-03-09 22:34:29 +00:00
Родитель 734ffedf47
Коммит 1353fb24cb
4 изменённых файлов: 80 добавлений и 0 удалений

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

@ -46,6 +46,7 @@ EXPORTS = \
nsIMsgMailNewsUrl.h \
nsIUrlListener.h \
nsIUrlListenerManager.h \
nsIFolderListener.h \
$(NULL)
include $(topsrcdir)/config/config.mk

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

@ -23,6 +23,8 @@ IDLSRCS = \
nsIMsgHost.idl \
nsIMsgGroupRecord.idl \
nsIMsgFolder.idl \
nsIFolder.idl \
nsIFolderListener.idl \
$(NULL)
EXPORTS = \
@ -42,6 +44,7 @@ EXPORTS = \
nsIMsgMailNewsUrl.h \
nsIUrlListenerManager.h \
nsIUrlListener.h \
nsIFolderListener.h \
nsIMsgMailSession.h \
nsIMsgIdentity.h \
nsIDOMMsgAppCore.h \

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

@ -0,0 +1,47 @@
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM nsIFolderListener.idl
*/
#ifndef __gen_nsIFolderListener_h__
#define __gen_nsIFolderListener_h__
#include "nsISupports.h" /* interface nsISupports */
#include "nsICollection.h" /* interface nsICollection */
#include "nsIEnumerator.h" /* interface nsIEnumerator */
#include "nsIFolder.h" /* interface nsIFolder */
#ifdef XPIDL_JS_STUBS
#include "jsapi.h"
#endif
/* starting interface nsIFolderListener */
/* {1c5ef9f0-d1c0-11d2-94CA-006097222B83} */
#define NS_IFOLDERLISTENER_IID_STR "1c5ef9f0-d1c0-11d2-94CA-006097222B83"
#define NS_IFOLDERLISTENER_IID \
{0x1c5ef9f0, 0xd1c0, 0x11d2, \
{ 0x94, 0xCA, 0x00, 0x60, 0x97, 0x22, 0x2B, 0x83 }}
class nsIFolderListener : public nsISupports {
public:
static const nsIID& GetIID() {
static nsIID iid = NS_IFOLDERLISTENER_IID;
return iid;
}
/* void OnItemAdded (in nsIFolder parentFolder, in nsISupports item); */
NS_IMETHOD OnItemAdded(nsIFolder *parentFolder, nsISupports *item) = 0;
/* 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, char *property, char *value) = 0;
#ifdef XPIDL_JS_STUBS
static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx);
static NS_EXPORT_(JSObject *) GetJSObject(JSContext *cx, nsIFolderListener *priv);
#endif
};
#endif /* __gen_nsIFolderListener_h__ */

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

@ -0,0 +1,29 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsISupports.idl"
#include "nsIFolder.idl"
[uuid(1c5ef9f0-d1c0-11d2-94CA-006097222B83)] /* XXX regenerate */
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);
};