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 .
22 #include "smplmailmsg.hxx"
24 using com::sun::star::uno::Sequence
;
28 CSmplMailMsg::CSmplMailMsg( )
32 void SAL_CALL
CSmplMailMsg::setBody( const OUString
& aBody
)
37 OUString SAL_CALL
CSmplMailMsg::getBody( )
42 void SAL_CALL
CSmplMailMsg::setRecipient( const OUString
& aRecipient
)
44 m_aRecipient
= aRecipient
;
47 OUString SAL_CALL
CSmplMailMsg::getRecipient( )
52 void SAL_CALL
CSmplMailMsg::setCcRecipient( const Sequence
< OUString
>& aCcRecipient
)
54 m_CcRecipients
= aCcRecipient
;
57 Sequence
< OUString
> SAL_CALL
CSmplMailMsg::getCcRecipient( )
59 return m_CcRecipients
;
62 void SAL_CALL
CSmplMailMsg::setBccRecipient( const Sequence
< OUString
>& aBccRecipient
)
64 m_BccRecipients
= aBccRecipient
;
67 Sequence
< OUString
> SAL_CALL
CSmplMailMsg::getBccRecipient( )
69 return m_BccRecipients
;
72 void SAL_CALL
CSmplMailMsg::setOriginator( const OUString
& aOriginator
)
74 m_aOriginator
= aOriginator
;
77 OUString SAL_CALL
CSmplMailMsg::getOriginator( )
82 void SAL_CALL
CSmplMailMsg::setSubject( const OUString
& aSubject
)
84 m_aSubject
= aSubject
;
87 OUString SAL_CALL
CSmplMailMsg::getSubject( )
92 void SAL_CALL
CSmplMailMsg::setAttachement( const Sequence
< OUString
>& aAttachement
)
94 m_Attachements
= aAttachement
;
97 Sequence
< OUString
> SAL_CALL
CSmplMailMsg::getAttachement( )
99 return m_Attachements
;
102 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */