summaryrefslogtreecommitdiffstats
path: root/comm/mailnews/base/src/nsMailChannel.h
diff options
context:
space:
mode:
Diffstat (limited to 'comm/mailnews/base/src/nsMailChannel.h')
-rw-r--r--comm/mailnews/base/src/nsMailChannel.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/comm/mailnews/base/src/nsMailChannel.h b/comm/mailnews/base/src/nsMailChannel.h
new file mode 100644
index 0000000000..91cf59705a
--- /dev/null
+++ b/comm/mailnews/base/src/nsMailChannel.h
@@ -0,0 +1,30 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, you can obtain one at http://mozilla.org/MPL/2.0/. */
+
+#ifndef nsMailChannel_h__
+#define nsMailChannel_h__
+
+#include "nsIMailChannel.h"
+#include "nsIWritablePropertyBag2.h"
+#include "nsTArray.h"
+#include "nsTString.h"
+#include "calIItipItem.h"
+#include "nsIWeakReferenceUtils.h"
+
+class nsMailChannel : public nsIMailChannel {
+ public:
+ NS_DECL_NSIMAILCHANNEL
+
+ protected:
+ nsTArray<nsCString> mHeaderNames;
+ nsTArray<nsCString> mHeaderValues;
+ nsTArray<RefPtr<nsIWritablePropertyBag2>> mAttachments;
+ nsCString mMailCharacterSet;
+ nsCString mImipMethod;
+ nsCOMPtr<calIItipItem> mImipItem;
+ nsCOMPtr<nsIMsgSMIMEHeaderSink> mSmimeHeaderSink;
+ nsWeakPtr mListener;
+};
+
+#endif /* nsMailChannel_h__ */