Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Private Attributes
nsNNTPNewsgroupPost Class Reference

#include <nsNNTPNewsgroupPost.h>

Inheritance diagram for nsNNTPNewsgroupPost:
Inheritance graph
[legend]
Collaboration diagram for nsNNTPNewsgroupPost:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsNNTPNewsgroupPost ()
virtual ~nsNNTPNewsgroupPost ()
NS_DECL_ISUPPORTS NS_IMPL_CLASS_GETSET_STR (RelayVersion, m_header[IDX_HEADER_RELAYVERSION])
 NS_IMPL_CLASS_GETSET_STR (PostingVersion, m_header[IDX_HEADER_POSTINGVERSION])
 NS_IMPL_CLASS_GETSET_STR (From, m_header[IDX_HEADER_FROM])
 NS_IMPL_CLASS_GETSET_STR (Date, m_header[IDX_HEADER_DATE])
 NS_IMPL_CLASS_GETSET_STR (Subject, m_header[IDX_HEADER_SUBJECT])
 NS_IMPL_CLASS_GETTER_STR (GetNewsgroups, m_header[IDX_HEADER_NEWSGROUPS])
 NS_IMPL_CLASS_GETSET_STR (Path, m_header[IDX_HEADER_PATH])
 NS_IMPL_CLASS_GETSET_STR (ReplyTo, m_header[IDX_HEADER_REPLYTO])
 NS_IMPL_CLASS_GETSET_STR (Sender, m_header[IDX_HEADER_SENDER])
 NS_IMPL_CLASS_GETSET_STR (FollowupTo, m_header[IDX_HEADER_FOLLOWUPTO])
 NS_IMPL_CLASS_GETSET_STR (DateRecieved, m_header[IDX_HEADER_DATERECEIVED])
 NS_IMPL_CLASS_GETSET_STR (Expires, m_header[IDX_HEADER_EXPIRES])
 NS_IMPL_CLASS_GETSET_STR (Control, m_header[IDX_HEADER_CONTROL])
 NS_IMPL_CLASS_GETSET_STR (Distribution, m_header[IDX_HEADER_DISTRIBUTION])
 NS_IMPL_CLASS_GETSET_STR (Organization, m_header[IDX_HEADER_ORGANIZATION])
 NS_IMPL_CLASS_GETSET_STR (Body, m_body)
 NS_IMPL_CLASS_GETTER_STR (GetReferences, m_header[IDX_HEADER_REFERENCES])
 NS_IMPL_CLASS_GETTER (GetIsControl, PRBool, m_isControl)
NS_IMETHOD SetPostMessageFile (nsIFileSpec *aFileName)
NS_IMETHOD GetPostMessageFile (nsIFileSpec **aFileName)
NS_IMETHOD AddNewsgroup (const char *newsgroupName)
void AddNewsgroup (in string newsgroupName)

Public Attributes

attribute string relayVersion
attribute string postingVersion
attribute string from
attribute string date
readonly attribute string newsgroups
attribute string subject
attribute string path
attribute string replyTo
attribute string sender
attribute string followupTo
attribute string dateRecieved
attribute string expires
readonly attribute string references
attribute string control
attribute string distribution
attribute string organization
attribute string body
readonly attribute boolean isControl
attribute nsIFileSpec postMessageFile

Private Attributes

nsIFileSpecm_postMessageFile
char * m_header [HEADER_LAST+1]
char * m_body
char * m_messageBuffer
PRBool m_isControl

Detailed Description

Definition at line 77 of file nsNNTPNewsgroupPost.h.


Constructor & Destructor Documentation


Member Function Documentation

void nsINNTPNewsgroupPost::AddNewsgroup ( in string  newsgroupName) [inherited]

Definition at line 99 of file nsNNTPNewsgroupPost.cpp.

Here is the call graph for this function:

Definition at line 123 of file nsNNTPNewsgroupPost.cpp.

{
       NS_LOCK_INSTANCE();
       if (aPostMessageFile)
       {
              *aPostMessageFile = m_postMessageFile;
              NS_IF_ADDREF(m_postMessageFile);
       }
    NS_UNLOCK_INSTANCE();
    return NS_OK;
}
NS_DECL_ISUPPORTS nsNNTPNewsgroupPost::NS_IMPL_CLASS_GETSET_STR ( RelayVersion  ,
m_header  [IDX_HEADER_RELAYVERSION] 
)
nsNNTPNewsgroupPost::NS_IMPL_CLASS_GETSET_STR ( PostingVersion  ,
m_header  [IDX_HEADER_POSTINGVERSION] 
)
nsNNTPNewsgroupPost::NS_IMPL_CLASS_GETSET_STR ( From  ,
m_header  [IDX_HEADER_FROM] 
)
nsNNTPNewsgroupPost::NS_IMPL_CLASS_GETSET_STR ( Subject  ,
m_header  [IDX_HEADER_SUBJECT] 
)
nsNNTPNewsgroupPost::NS_IMPL_CLASS_GETSET_STR ( Path  ,
m_header  [IDX_HEADER_PATH] 
)
nsNNTPNewsgroupPost::NS_IMPL_CLASS_GETSET_STR ( ReplyTo  ,
m_header  [IDX_HEADER_REPLYTO] 
)
nsNNTPNewsgroupPost::NS_IMPL_CLASS_GETSET_STR ( Sender  ,
m_header  [IDX_HEADER_SENDER] 
)
nsNNTPNewsgroupPost::NS_IMPL_CLASS_GETSET_STR ( FollowupTo  ,
m_header  [IDX_HEADER_FOLLOWUPTO] 
)
nsNNTPNewsgroupPost::NS_IMPL_CLASS_GETSET_STR ( DateRecieved  ,
m_header  [IDX_HEADER_DATERECEIVED] 
)
nsNNTPNewsgroupPost::NS_IMPL_CLASS_GETSET_STR ( Expires  ,
m_header  [IDX_HEADER_EXPIRES] 
)
nsNNTPNewsgroupPost::NS_IMPL_CLASS_GETSET_STR ( Control  ,
m_header  [IDX_HEADER_CONTROL] 
)
nsNNTPNewsgroupPost::NS_IMPL_CLASS_GETSET_STR ( Distribution  ,
m_header  [IDX_HEADER_DISTRIBUTION] 
)
nsNNTPNewsgroupPost::NS_IMPL_CLASS_GETSET_STR ( Organization  ,
m_header  [IDX_HEADER_ORGANIZATION] 
)
nsNNTPNewsgroupPost::NS_IMPL_CLASS_GETTER_STR ( GetNewsgroups  ,
m_header  [IDX_HEADER_NEWSGROUPS] 
)
nsNNTPNewsgroupPost::NS_IMPL_CLASS_GETTER_STR ( GetReferences  ,
m_header  [IDX_HEADER_REFERENCES] 
)

Definition at line 109 of file nsNNTPNewsgroupPost.cpp.


Member Data Documentation

Definition at line 77 of file nsINNTPNewsgroupPost.idl.

Definition at line 72 of file nsINNTPNewsgroupPost.idl.

Definition at line 55 of file nsINNTPNewsgroupPost.idl.

Definition at line 67 of file nsINNTPNewsgroupPost.idl.

Definition at line 73 of file nsINNTPNewsgroupPost.idl.

Definition at line 68 of file nsINNTPNewsgroupPost.idl.

Definition at line 66 of file nsINNTPNewsgroupPost.idl.

Definition at line 54 of file nsINNTPNewsgroupPost.idl.

Definition at line 83 of file nsINNTPNewsgroupPost.idl.

char* nsNNTPNewsgroupPost::m_body [private]

Definition at line 119 of file nsNNTPNewsgroupPost.h.

Definition at line 118 of file nsNNTPNewsgroupPost.h.

Definition at line 121 of file nsNNTPNewsgroupPost.h.

Definition at line 120 of file nsNNTPNewsgroupPost.h.

Definition at line 117 of file nsNNTPNewsgroupPost.h.

Definition at line 58 of file nsINNTPNewsgroupPost.idl.

Definition at line 74 of file nsINNTPNewsgroupPost.idl.

Definition at line 61 of file nsINNTPNewsgroupPost.idl.

Definition at line 53 of file nsINNTPNewsgroupPost.idl.

Definition at line 85 of file nsINNTPNewsgroupPost.idl.

Definition at line 70 of file nsINNTPNewsgroupPost.idl.

Definition at line 52 of file nsINNTPNewsgroupPost.idl.

Definition at line 64 of file nsINNTPNewsgroupPost.idl.

Definition at line 65 of file nsINNTPNewsgroupPost.idl.

Definition at line 60 of file nsINNTPNewsgroupPost.idl.


The documentation for this class was generated from the following files: