tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / shell / source / win32 / simplemail / smplmailmsg.cxx
blob8cc7c3a46ab4c2bd87c1631d41279611c87b9c73
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
21 #include <osl/file.h>
22 #include "smplmailmsg.hxx"
24 using com::sun::star::uno::Sequence;
26 using namespace cppu;
28 CSmplMailMsg::CSmplMailMsg( )
32 void SAL_CALL CSmplMailMsg::setBody( const OUString& aBody )
34 m_aBody = aBody;
37 OUString SAL_CALL CSmplMailMsg::getBody( )
39 return m_aBody;
42 void SAL_CALL CSmplMailMsg::setRecipient( const OUString& aRecipient )
44 m_aRecipient = aRecipient;
47 OUString SAL_CALL CSmplMailMsg::getRecipient( )
49 return m_aRecipient;
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( )
79 return m_aOriginator;
82 void SAL_CALL CSmplMailMsg::setSubject( const OUString& aSubject )
84 m_aSubject = aSubject;
87 OUString SAL_CALL CSmplMailMsg::getSubject( )
89 return m_aSubject;
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: */