Initial check in

This commit is contained in:
ducarroz%netscape.com 1999-02-11 00:43:57 +00:00
parent 25d331a11f
commit 5e68eb4e7a
2 changed files with 306 additions and 0 deletions

View File

@ -0,0 +1,195 @@
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM nsImsgCompFields.idl
*/
#ifndef __gen_nsImsgCompFields_h__
#define __gen_nsImsgCompFields_h__
#include "nsISupports.h" /* interface nsISupports */
/* starting interface nsIMsgCompFields */
/* {3E89CAE3-BD2D-11d2-8293-000000000000} */
#define NS_IMSGCOMPFIELDS_IID_STR "3E89CAE3-BD2D-11d2-8293-000000000000"
#define NS_IMSGCOMPFIELDS_IID \
{0x3E89CAE3, 0xBD2D, 0x11d2, \
{ 0x82, 0x93, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }}
class nsIMsgCompFields : public nsISupports {
public:
static const nsIID& IID() {
static nsIID iid = NS_IMSGCOMPFIELDS_IID;
return iid;
}
/* <IDL> */
NS_IMETHOD Test() = 0;
/* <IDL> */
NS_IMETHOD Copy(const nsIMsgCompFields *pMsgCompFields) = 0;
/* <IDL> */
NS_IMETHOD SetHeader(PRInt32 header, const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetHeader(PRInt32 header, char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetBoolHeader(PRInt32 header, PRBool bValue, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetBoolHeader(PRInt32 header, PRBool *_retval) = 0;
/* <IDL> */
NS_IMETHOD SetFrom(const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetFrom(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetReplyTo(const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetReplyTo(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetTo(const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetTo(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetCc(const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetCc(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetBcc(const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetBcc(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetFcc(const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetFcc(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetNewsFcc(const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetNewsFcc(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetNewsBcc(const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetNewsBcc(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetNewsgroups(const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetNewsgroups(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetFollowupTo(const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetFollowupTo(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetSubject(const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetSubject(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetAttachments(const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetAttachments(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetOrganization(const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetOrganization(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetReferences(const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetReferences(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetOtherRandomHeaders(const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetOtherRandomHeaders(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetNewspostUrl(const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetNewspostUrl(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetDefaultBody(const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetDefaultBody(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetPriority(const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetPriority(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetMessageEncoding(const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetMessageEncoding(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetCharacterSet(const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetCharacterSet(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetMessageId(const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetMessageId(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetHTMLPart(const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetHTMLPart(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetTemplateName(const char *value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetTemplateName(char **_retval) = 0;
/* <IDL> */
NS_IMETHOD SetReturnReceipt(PRBool value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetReturnReceipt(PRBool *_retval) = 0;
/* <IDL> */
NS_IMETHOD SetAttachVCard(PRBool value, PRInt32 *_retval) = 0;
/* <IDL> */
NS_IMETHOD GetAttachVCard(PRBool *_retval) = 0;
};
#endif /* __gen_nsImsgCompFields_h__ */

View File

@ -0,0 +1,111 @@
/* -*- Mode: C++; tab-width: 4; 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"
[object, uuid(3E89CAE3-BD2D-11d2-8293-000000000000)]
interface nsIMsgCompFields : nsISupports {
void Test();
void Copy(in nsIMsgCompFields pMsgCompFields);
long SetHeader(in long header, in string value);
string GetHeader(in long header);
long SetBoolHeader(in long header, in boolean bValue);
boolean GetBoolHeader(in long header);
/* Convenience routines to get and set header's value... */
long SetFrom(in string value);
string GetFrom();
long SetReplyTo(in string value);
string GetReplyTo();
long SetTo(in string value);
string GetTo();
long SetCc(in string value);
string GetCc();
long SetBcc(in string value);
string GetBcc();
long SetFcc(in string value);
string GetFcc();
long SetNewsFcc(in string value);
string GetNewsFcc();
long SetNewsBcc(in string value);
string GetNewsBcc();
long SetNewsgroups(in string value);
string GetNewsgroups();
long SetFollowupTo(in string value);
string GetFollowupTo();
long SetSubject(in string value);
string GetSubject();
long SetAttachments(in string value);
string GetAttachments();
long SetOrganization(in string value);
string GetOrganization();
long SetReferences(in string value);
string GetReferences();
long SetOtherRandomHeaders(in string value);
string GetOtherRandomHeaders();
long SetNewspostUrl(in string value);
string GetNewspostUrl();
long SetDefaultBody(in string value);
string GetDefaultBody();
long SetPriority(in string value);
string GetPriority();
long SetMessageEncoding(in string value);
string GetMessageEncoding();
long SetCharacterSet(in string value);
string GetCharacterSet();
long SetMessageId(in string value);
string GetMessageId();
long SetHTMLPart(in string value);
string GetHTMLPart();
long SetTemplateName(in string value);
string GetTemplateName();
long SetReturnReceipt(in boolean value);
boolean GetReturnReceipt();
long SetAttachVCard(in boolean value);
boolean GetAttachVCard();
};