update credits
[LibreOffice.git] / include / toolkit / awt / xthrobber.hxx
blob2c8ad5d0817ef6479ee77deb510f8be9e26da149
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_XTHROBBER_HXX
20 #define TOOLKIT_AWT_XTHROBBER_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/XThrobber.hpp>
28 #include <boost/scoped_ptr.hpp>
29 #include <boost/noncopyable.hpp>
31 //........................................................................
32 namespace toolkit
34 //........................................................................
36 //====================================================================
37 //= XThrobber
38 //====================================================================
39 typedef ::cppu::ImplInheritanceHelper1 < VCLXWindow
40 , ::com::sun::star::awt::XThrobber
41 > XThrobber_Base;
43 class XThrobber :public XThrobber_Base
44 ,public ::boost::noncopyable
46 private:
47 void SAL_CALL InitImageList() throw(::com::sun::star::uno::RuntimeException);
49 public:
50 XThrobber();
52 protected:
53 ~XThrobber();
55 // XThrobber
56 virtual void SAL_CALL start() throw (::com::sun::star::uno::RuntimeException);
57 virtual void SAL_CALL stop() throw (::com::sun::star::uno::RuntimeException);
59 // VCLXWindow
60 virtual void SetWindow( Window* pWindow );
62 private:
63 XThrobber( const XThrobber& ); // never implemented
64 XThrobber& operator=( const XThrobber& ); // never implemented
67 //........................................................................
68 } // namespacetoolkit
69 //........................................................................
71 #endif // TOOLKIT_AWT_XTHROBBER_HXX
73 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */