update credits
[LibreOffice.git] / include / toolkit / awt / xsimpleanimation.hxx
blob3ab8499d63fc88b89c18b8ccf706f0dcf486c0e9
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 .
19 #ifndef TOOLKIT_AWT_XSIMPLEANIMATION_HXX
20 #define TOOLKIT_AWT_XSIMPLEANIMATION_HXX
22 #include <toolkit/awt/vclxwindow.hxx>
23 #include <toolkit/helper/listenermultiplexer.hxx>
24 #include <cppuhelper/implbase1.hxx>
25 #include <comphelper/uno3.hxx>
26 #include <com/sun/star/awt/XSimpleAnimation.hpp>
28 #include <boost/scoped_ptr.hpp>
30 //........................................................................
31 namespace toolkit
33 //........................................................................
35 //====================================================================
36 //= XSimpleAnimation
37 //====================================================================
38 typedef ::cppu::ImplInheritanceHelper1 < VCLXWindow
39 , ::com::sun::star::awt::XSimpleAnimation
40 > XSimpleAnimation_Base;
42 class XSimpleAnimation : public XSimpleAnimation_Base
44 public:
45 XSimpleAnimation();
47 protected:
48 ~XSimpleAnimation();
50 // XSimpleAnimation
51 virtual void SAL_CALL start() throw (::com::sun::star::uno::RuntimeException);
52 virtual void SAL_CALL stop() throw (::com::sun::star::uno::RuntimeException);
53 virtual void SAL_CALL setImageList( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic > >& ImageList )
54 throw (::com::sun::star::uno::RuntimeException);
55 // VclWindowPeer
56 virtual void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException);
57 virtual ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException);
59 private:
60 XSimpleAnimation( const XSimpleAnimation& ); // never implemented
61 XSimpleAnimation& operator=( const XSimpleAnimation& ); // never implemented
64 //........................................................................
65 } // namespacetoolkit
66 //........................................................................
68 #endif // TOOLKIT_INC_TOOLKIT_AWT_XSIMPLEANIMATION_HXX
70 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */