1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef INCLUDED_SHELL_SOURCE_WIN32_SIMPLEMAIL_SMPLMAILMSG_HXX
21 #define INCLUDED_SHELL_SOURCE_WIN32_SIMPLEMAIL_SMPLMAILMSG_HXX
23 #include <cppuhelper/compbase1.hxx>
24 #include <com/sun/star/lang/XServiceInfo.hpp>
25 #include <com/sun/star/lang/IllegalArgumentException.hpp>
26 #include <com/sun/star/system/XSimpleMailMessage2.hpp>
33 public cppu::WeakImplHelper1
< com::sun::star::system::XSimpleMailMessage2
>
38 virtual void SAL_CALL
setBody( const ::rtl::OUString
& aBody
)
39 throw (::com::sun::star::uno::RuntimeException
);
41 virtual ::rtl::OUString SAL_CALL
getBody( )
42 throw (::com::sun::star::uno::RuntimeException
);
46 virtual void SAL_CALL
setRecipient( const OUString
& aRecipient
)
47 throw (::com::sun::star::uno::RuntimeException
);
49 virtual OUString SAL_CALL
getRecipient( )
50 throw (::com::sun::star::uno::RuntimeException
);
54 virtual void SAL_CALL
setCcRecipient( const ::com::sun::star::uno::Sequence
< OUString
>& aCcRecipient
)
55 throw (::com::sun::star::uno::RuntimeException
);
57 virtual ::com::sun::star::uno::Sequence
< OUString
> SAL_CALL
getCcRecipient( )
58 throw (::com::sun::star::uno::RuntimeException
);
62 virtual void SAL_CALL
setBccRecipient( const ::com::sun::star::uno::Sequence
< OUString
>& aBccRecipient
)
63 throw (::com::sun::star::uno::RuntimeException
);
65 virtual ::com::sun::star::uno::Sequence
< OUString
> SAL_CALL
getBccRecipient( )
66 throw (::com::sun::star::uno::RuntimeException
);
70 virtual void SAL_CALL
setOriginator( const OUString
& aOriginator
)
71 throw (::com::sun::star::uno::RuntimeException
);
73 virtual OUString SAL_CALL
getOriginator( )
74 throw (::com::sun::star::uno::RuntimeException
);
78 virtual void SAL_CALL
setSubject( const OUString
& aSubject
)
79 throw (::com::sun::star::uno::RuntimeException
);
81 virtual OUString SAL_CALL
getSubject( )
82 throw (::com::sun::star::uno::RuntimeException
);
86 virtual void SAL_CALL
setAttachement( const ::com::sun::star::uno::Sequence
< OUString
>& aAttachement
)
87 throw (::com::sun::star::lang::IllegalArgumentException
, ::com::sun::star::uno::RuntimeException
);
89 virtual ::com::sun::star::uno::Sequence
< OUString
> SAL_CALL
getAttachement( )
90 throw (::com::sun::star::uno::RuntimeException
);
94 OUString m_aRecipient
;
95 OUString m_aOriginator
;
97 com::sun::star::uno::Sequence
< OUString
> m_CcRecipients
;
98 com::sun::star::uno::Sequence
< OUString
> m_BccRecipients
;
99 com::sun::star::uno::Sequence
< OUString
> m_Attachements
;
104 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */