LCOV - code coverage report
Current view: top level - shell/source/cmdmail - cmdmailmsg.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 2 0.0 %
Date: 2015-06-13 12:38:46 Functions: 0 3 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       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/.
       8             :  *
       9             :  * This file incorporates work covered by the following license notice:
      10             :  *
      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 .
      18             :  */
      19             : 
      20             : #ifndef INCLUDED_SHELL_SOURCE_CMDMAIL_CMDMAILMSG_HXX
      21             : #define INCLUDED_SHELL_SOURCE_CMDMAIL_CMDMAILMSG_HXX
      22             : 
      23             : #include <cppuhelper/implbase2.hxx>
      24             : #include <com/sun/star/lang/IllegalArgumentException.hpp>
      25             : #include <com/sun/star/container/XNameAccess.hpp>
      26             : 
      27             : #include <com/sun/star/system/XSimpleMailMessage2.hpp>
      28             : #include <com/sun/star/uno/XComponentContext.hpp>
      29             : #include <com/sun/star/uno/Reference.hxx>
      30             : 
      31             : 
      32             : // class declaration
      33             : 
      34             : 
      35           0 : class CmdMailMsg :
      36             :     public  cppu::WeakImplHelper2<
      37             :         ::com::sun::star::system::XSimpleMailMessage2,
      38             :         ::com::sun::star::container::XNameAccess >
      39             : {
      40             :     OUString                                   m_aBody;
      41             :     OUString                                   m_aRecipient;
      42             :     OUString                                   m_aOriginator;
      43             :     OUString                                   m_aSubject;
      44             :     ::com::sun::star::uno::Sequence< OUString >  m_CcRecipients;
      45             :     ::com::sun::star::uno::Sequence< OUString >  m_BccRecipients;
      46             :     ::com::sun::star::uno::Sequence< OUString >  m_Attachments;
      47             : 
      48             :     ::osl::Mutex m_aMutex;
      49             : 
      50             : public:
      51             : 
      52           0 :     CmdMailMsg() {};
      53             : 
      54             : 
      55             :     // XSimpleMailMessage
      56             : 
      57             : 
      58             :     virtual void SAL_CALL setBody( const OUString& aBody )
      59             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      60             : 
      61             :     virtual OUString SAL_CALL getBody(  )
      62             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      63             : 
      64             :     virtual void SAL_CALL setRecipient( const OUString& aRecipient )
      65             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      66             : 
      67             :     virtual OUString SAL_CALL getRecipient(  )
      68             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      69             : 
      70             :     virtual void SAL_CALL setCcRecipient( const ::com::sun::star::uno::Sequence< OUString >& aCcRecipient )
      71             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      72             : 
      73             :     virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getCcRecipient(  )
      74             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      75             : 
      76             :     virtual void SAL_CALL setBccRecipient( const ::com::sun::star::uno::Sequence< OUString >& aBccRecipient )
      77             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      78             : 
      79             :     virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getBccRecipient(  )
      80             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      81             : 
      82             :     virtual void SAL_CALL setOriginator( const OUString& aOriginator )
      83             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      84             : 
      85             :     virtual OUString SAL_CALL getOriginator(  )
      86             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      87             : 
      88             :     virtual void SAL_CALL setSubject( const OUString& aSubject )
      89             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      90             : 
      91             :     virtual OUString SAL_CALL getSubject(  )
      92             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      93             : 
      94             :     virtual void SAL_CALL setAttachement( const ::com::sun::star::uno::Sequence< OUString >& aAttachement )
      95             :         throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      96             : 
      97             :     virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getAttachement(  )
      98             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      99             : 
     100             : 
     101             :     // XNameAccess
     102             : 
     103             : 
     104             :     virtual ::com::sun::star::uno::Any SAL_CALL getByName( const OUString& aName )
     105             :         throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     106             : 
     107             :     virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getElementNames(  )
     108             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE ;
     109             : 
     110             :     virtual sal_Bool SAL_CALL hasByName( const OUString& aName )
     111             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     112             : 
     113             : 
     114             :     // XElementAccess
     115             : 
     116             : 
     117             :     virtual ::com::sun::star::uno::Type SAL_CALL getElementType(  )
     118             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     119             : 
     120             :     virtual sal_Bool SAL_CALL hasElements(  )
     121             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     122             : 
     123             : };
     124             : 
     125             : #endif
     126             : 
     127             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11