first addition of POP3 incoming server implementation

This commit is contained in:
alecf%netscape.com 1999-04-06 22:36:19 +00:00
Родитель 535f8bf8de
Коммит 302e12e4e6
2 изменённых файлов: 78 добавлений и 0 удалений

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

@ -0,0 +1,48 @@
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM nsIPop3IncomingServer.idl
*/
#ifndef __gen_nsIPop3IncomingServer_h__
#define __gen_nsIPop3IncomingServer_h__
#include "nsISupports.h" /* interface nsISupports */
#include "nsID.h" /* interface nsID */
#ifdef XPIDL_JS_STUBS
#include "jsapi.h"
#endif
/* starting interface: nsIPop3IncomingServer */
/* {758a8970-e628-11d2-b7fc-00805f05ffa5} */
#define NS_IPOP3INCOMINGSERVER_IID_STR "758a8970-e628-11d2-b7fc-00805f05ffa5"
#define NS_IPOP3INCOMINGSERVER_IID \
{0x758a8970, 0xe628, 0x11d2, \
{ 0xb7, 0xfc, 0x00, 0x80, 0x5f, 0x05, 0xff, 0xa5 }}
class nsIPop3IncomingServer : public nsISupports {
public:
static const nsIID& GetIID() {
static nsIID iid = NS_IPOP3INCOMINGSERVER_IID;
return iid;
}
/* attribute string rootFolderPath; */
NS_IMETHOD GetRootFolderPath(char * *aRootFolderPath) = 0;
NS_IMETHOD SetRootFolderPath(char * aRootFolderPath) = 0;
/* attribute boolean leaveMessagesOnServer; */
NS_IMETHOD GetLeaveMessagesOnServer(PRBool *aLeaveMessagesOnServer) = 0;
NS_IMETHOD SetLeaveMessagesOnServer(PRBool aLeaveMessagesOnServer) = 0;
/* attribute boolean deleteMailLeftOnServer; */
NS_IMETHOD GetDeleteMailLeftOnServer(PRBool *aDeleteMailLeftOnServer) = 0;
NS_IMETHOD SetDeleteMailLeftOnServer(PRBool aDeleteMailLeftOnServer) = 0;
#ifdef XPIDL_JS_STUBS
static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx);
static NS_EXPORT_(JSObject *) GetJSObject(JSContext *cx, nsIPop3IncomingServer *priv);
#endif
};
#endif /* __gen_nsIPop3IncomingServer_h__ */

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

@ -0,0 +1,30 @@
/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* 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"
[object, uuid(758a8970-e628-11d2-b7fc-00805f05ffa5)]
interface nsIPop3IncomingServer : nsISupports {
attribute string rootFolderPath;
attribute boolean leaveMessagesOnServer;
attribute boolean deleteMailLeftOnServer;
};