summaryrefslogtreecommitdiff
path: root/shell/source/win32/simplemail/smplmailclient.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'shell/source/win32/simplemail/smplmailclient.hxx')
-rw-r--r--shell/source/win32/simplemail/smplmailclient.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/shell/source/win32/simplemail/smplmailclient.hxx b/shell/source/win32/simplemail/smplmailclient.hxx
index 4a744c289eec..5844e99147e5 100644
--- a/shell/source/win32/simplemail/smplmailclient.hxx
+++ b/shell/source/win32/simplemail/smplmailclient.hxx
@@ -24,7 +24,9 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/system/XSimpleMailClient.hpp>
+#include <unotools/tempfile.hxx>
#include <vector>
+#include <memory>
class CSmplMailClient : public cppu::WeakImplHelper<css::system::XSimpleMailClient>
{
@@ -36,6 +38,11 @@ public:
private:
void validateParameter(const css::uno::Reference<css::system::XSimpleMailMessage>& xSimpleMailMessage, sal_Int32 aFlag);
void assembleCommandLine(const css::uno::Reference<css::system::XSimpleMailMessage>& xSimpleMailMessage, sal_Int32 aFlag, std::vector<OUString>& rCommandArgs);
+ OUString CopyAttachment(const OUString& sOrigAttachURL, OUString& sUserVisibleName);
+ // Don't try to delete the copied attachment files; let the spawned process cleanup them
+ void ReleaseAttachments();
+
+ std::vector< std::unique_ptr<utl::TempFile> > maAttachmentFiles;
};
#endif