From 56b67654ee40275e9f252e0defa50e9498e56e7a Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Sat, 24 Jul 1999 01:36:44 +0000 Subject: [PATCH] remove these header files. all idl files for news, now! git-svn-id: svn://10.0.0.236/trunk@40943 18797224-902f-48f8-a5cc-f745e15eee43 --- .../news/public/nsINNTPNewsgroupPost.h | 124 ------------------ mozilla/mailnews/news/public/nsINntpUrl.h | 85 ------------ 2 files changed, 209 deletions(-) delete mode 100644 mozilla/mailnews/news/public/nsINNTPNewsgroupPost.h delete mode 100644 mozilla/mailnews/news/public/nsINntpUrl.h diff --git a/mozilla/mailnews/news/public/nsINNTPNewsgroupPost.h b/mozilla/mailnews/news/public/nsINNTPNewsgroupPost.h deleted file mode 100644 index 00d99c0798d..00000000000 --- a/mozilla/mailnews/news/public/nsINNTPNewsgroupPost.h +++ /dev/null @@ -1,124 +0,0 @@ -/* - * DO NOT EDIT. THIS FILE IS GENERATED FROM nsINNTPNewsgroupPost.idl - */ - -#ifndef __gen_nsINNTPNewsgroupPost_h__ -#define __gen_nsINNTPNewsgroupPost_h__ - -#include "nsISupports.h" /* interface nsISupports */ -#include "nsID.h" /* interface nsID */ - -#ifdef XPIDL_JS_STUBS -#include "jsapi.h" -#endif - -/* starting interface: nsINNTPNewsgroupPost */ - -/* {c4164a20-bc74-11d2-b7f2-00805f05ffa5} */ -#define NS_INNTPNEWSGROUPPOST_IID_STR "c4164a20-bc74-11d2-b7f2-00805f05ffa5" -#define NS_INNTPNEWSGROUPPOST_IID \ - {0xc4164a20, 0xbc74, 0x11d2, \ - { 0xb7, 0xf2, 0x00, 0x80, 0x5f, 0x05, 0xff, 0xa5 }} - -class nsINNTPNewsgroupPost : public nsISupports { - public: - NS_DEFINE_STATIC_IID_ACCESSOR(NS_INNTPNEWSGROUPPOST_IID) - - /* attribute string relayVersion; */ - NS_IMETHOD GetRelayVersion(char * *aRelayVersion) = 0; - NS_IMETHOD SetRelayVersion(char * aRelayVersion) = 0; - - /* attribute string postingVersion; */ - NS_IMETHOD GetPostingVersion(char * *aPostingVersion) = 0; - NS_IMETHOD SetPostingVersion(char * aPostingVersion) = 0; - - /* attribute string from; */ - NS_IMETHOD GetFrom(char * *aFrom) = 0; - NS_IMETHOD SetFrom(char * aFrom) = 0; - - /* attribute string date; */ - NS_IMETHOD GetDate(char * *aDate) = 0; - NS_IMETHOD SetDate(char * aDate) = 0; - - /* void AddNewsgroup (in string newsgroupName); */ - NS_IMETHOD AddNewsgroup(const char *newsgroupName) = 0; - - /* readonly attribute string newsgroups; */ - NS_IMETHOD GetNewsgroups(char * *aNewsgroups) = 0; - - /* attribute string subject; */ - NS_IMETHOD GetSubject(char * *aSubject) = 0; - NS_IMETHOD SetSubject(char * aSubject) = 0; - - /* readonly attribute string messageID; */ - NS_IMETHOD GetMessageID(char * *aMessageID) = 0; - - /* attribute string path; */ - NS_IMETHOD GetPath(char * *aPath) = 0; - NS_IMETHOD SetPath(char * aPath) = 0; - - /* boolean isValid (); */ - NS_IMETHOD isValid(PRBool *_retval) = 0; - - /* attribute string replyTo; */ - NS_IMETHOD GetReplyTo(char * *aReplyTo) = 0; - NS_IMETHOD SetReplyTo(char * aReplyTo) = 0; - - /* attribute string sender; */ - NS_IMETHOD GetSender(char * *aSender) = 0; - NS_IMETHOD SetSender(char * aSender) = 0; - - /* attribute string followupTo; */ - NS_IMETHOD GetFollowupTo(char * *aFollowupTo) = 0; - NS_IMETHOD SetFollowupTo(char * aFollowupTo) = 0; - - /* attribute string dateRecieved; */ - NS_IMETHOD GetDateRecieved(char * *aDateRecieved) = 0; - NS_IMETHOD SetDateRecieved(char * aDateRecieved) = 0; - - /* attribute string expires; */ - NS_IMETHOD GetExpires(char * *aExpires) = 0; - NS_IMETHOD SetExpires(char * aExpires) = 0; - - /* void AddReference (in string referenceID); */ - NS_IMETHOD AddReference(const char *referenceID) = 0; - - /* readonly attribute string references; */ - NS_IMETHOD GetReferences(char * *aReferences) = 0; - - /* attribute string control; */ - NS_IMETHOD GetControl(char * *aControl) = 0; - NS_IMETHOD SetControl(char * aControl) = 0; - - /* attribute string distribution; */ - NS_IMETHOD GetDistribution(char * *aDistribution) = 0; - NS_IMETHOD SetDistribution(char * aDistribution) = 0; - - /* attribute string organization; */ - NS_IMETHOD GetOrganization(char * *aOrganization) = 0; - NS_IMETHOD SetOrganization(char * aOrganization) = 0; - - /* attribute string body; */ - NS_IMETHOD GetBody(char * *aBody) = 0; - NS_IMETHOD SetBody(char * aBody) = 0; - - /* void MakeControlCancel (in string messageID); */ - NS_IMETHOD MakeControlCancel(const char *messageID) = 0; - - /* readonly attribute boolean isControl; */ - NS_IMETHOD GetIsControl(PRBool *aIsControl) = 0; - - /* string GetFullMessage (); */ - NS_IMETHOD GetFullMessage(char **_retval) = 0; - - /* attribute nsFilePath aFileName */ - NS_IMETHOD SetPostMessageFile(nsFilePath& aFileName) = 0; - NS_IMETHOD GetPostMessageFile(nsFilePath ** aFileName) = 0; - -#ifdef XPIDL_JS_STUBS - static NS_EXPORT_(JSObject *) InitJSClass(JSContext *cx); - static NS_EXPORT_(JSObject *) GetJSObject(JSContext *cx, nsINNTPNewsgroupPost *priv); -#endif -}; - -#endif /* __gen_nsINNTPNewsgroupPost_h__ */ diff --git a/mozilla/mailnews/news/public/nsINntpUrl.h b/mozilla/mailnews/news/public/nsINntpUrl.h deleted file mode 100644 index 42f2d334291..00000000000 --- a/mozilla/mailnews/news/public/nsINntpUrl.h +++ /dev/null @@ -1,85 +0,0 @@ -/* -*- Mode: C++; 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. - */ - -#ifndef nsINntpUrl_h___ -#define nsINntpUrl_h___ - -#include "nscore.h" -#include "MailNewsTypes.h" -#include "nsIMsgMailNewsUrl.h" - -#include "nsISupports.h" -#include "nsFileSpec.h" - -/* include all of our event sink interfaces */ -#include "nsINNTPNewsgroupList.h" -#include "nsINNTPArticleList.h" -#include "nsINNTPHost.h" -#include "nsINNTPNewsgroup.h" -#include "nsINNTPNewsgroupPost.h" -#include "nsIMsgOfflineNewsState.h" - -class nsIMsgDBHdr; - -/* BDD12930-A682-11d2-804C-006008128C4E */ -#define NS_INNTPURL_IID \ -{ 0xbdd12930, 0xa682, 0x11d2, \ - { 0x80, 0x4c, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e } } - -class nsINntpUrl : public nsISupports -{ -public: - static const nsIID& GetIID() { - static nsIID iid = NS_INNTPURL_IID; - return iid; - } - - /////////////////////////////////////////////////////////////////////////////// - // Getters and Setters for the news specific event sinks to bind to to your url - /////////////////////////////////////////////////////////////////////////////// - - NS_IMETHOD SetNntpHost (nsINNTPHost * newsHost) = 0; - NS_IMETHOD GetNntpHost (nsINNTPHost ** newsHost) = 0; - - NS_IMETHOD SetNntpArticleList (nsINNTPArticleList * articleList) = 0; - NS_IMETHOD GetNntpArticleList (nsINNTPArticleList ** articleList) = 0; - - NS_IMETHOD SetNewsgroup (nsINNTPNewsgroup * newsgroup) = 0; - NS_IMETHOD GetNewsgroup (nsINNTPNewsgroup ** newsgroup) = 0; - - NS_IMETHOD SetOfflineNewsState (nsIMsgOfflineNewsState * offlineNews) = 0; - NS_IMETHOD GetOfflineNewsState (nsIMsgOfflineNewsState ** offlineNews) = 0; - - NS_IMETHOD SetNewsgroupList (nsINNTPNewsgroupList * xoverParser) = 0; - NS_IMETHOD GetNewsgroupList (nsINNTPNewsgroupList ** xoverParser) = 0; - - NS_IMETHOD SetMessageToPost (nsINNTPNewsgroupPost *post) = 0; - NS_IMETHOD GetMessageToPost (nsINNTPNewsgroupPost **post) = 0; - - // return a message db header for that message. - NS_IMETHOD GetMessageHeader(nsIMsgDBHdr ** aMsgHdr) = 0; - - // replace this with an IDL attribute. - NS_IMETHOD SetMessageKey(nsMsgKey aKey) = 0; - NS_IMETHOD GetMessageKey(nsMsgKey * aKey) = 0; - - NS_IMETHOD SetNewsgroupName(char *aNewsgroupName) = 0; - NS_IMETHOD GetNewsgroupName(char ** aNewsgroupName) = 0; -}; - -#endif /* nsIHttpURL_h___ */