diff options
Diffstat (limited to 'shell/source/win32/simplemail/smplmailclient.hxx')
-rw-r--r-- | shell/source/win32/simplemail/smplmailclient.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/shell/source/win32/simplemail/smplmailclient.hxx b/shell/source/win32/simplemail/smplmailclient.hxx index 2da936a95340..72b79cf0b94c 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> { @@ -38,6 +40,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 |