summaryrefslogtreecommitdiff
path: root/include/tools/inetmsg.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-09-10 13:28:24 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-09-10 23:04:33 +0200
commite871b6a31aa5004daa7fb3b8531bd7f43e8fc203 (patch)
tree7f8151dcd6a58f711489b17b6c351e51806d9cbd /include/tools/inetmsg.hxx
parenta7b38dcf930a4f6b7dccfbf44bea5bf763e17cdc (diff)
Reduce INetMIMEMessage::EnableAttachChild to its only use case
Change-Id: I67221408d6b9d2aee942ca8bd39ca51da0209551
Diffstat (limited to 'include/tools/inetmsg.hxx')
-rw-r--r--include/tools/inetmsg.hxx16
1 files changed, 1 insertions, 15 deletions
diff --git a/include/tools/inetmsg.hxx b/include/tools/inetmsg.hxx
index 49d470b32d4c..3d3002cc407b 100644
--- a/include/tools/inetmsg.hxx
+++ b/include/tools/inetmsg.hxx
@@ -115,19 +115,6 @@ enum class InetMessageMime
NUMHDR = 6,
};
-enum INetMessageContainerType
-{
- INETMSG_MESSAGE_RFC822,
- INETMSG_MULTIPART_MIXED,
- INETMSG_MULTIPART_ALTERNATIVE,
- INETMSG_MULTIPART_DIGEST,
- INETMSG_MULTIPART_PARALLEL,
- INETMSG_MULTIPART_RELATED,
- INETMSG_MULTIPART_FORM_DATA
-};
-
-class INetMIMEMessage;
-
class TOOLS_DLLPUBLIC INetMIMEMessage
{
::std::vector< INetMessageHeader* >
@@ -271,8 +258,7 @@ public:
}
INetMIMEMessage* GetParent() const { return pParent; }
- bool EnableAttachChild (
- INetMessageContainerType eType = INETMSG_MULTIPART_MIXED);
+ bool EnableAttachMultipartFormDataChild();
bool AttachChild (
INetMIMEMessage& rChildMsg, bool bOwner = true );
};