LibreOffice Module desktop (master)  1
unxsplash.hxx
Go to the documentation of this file.
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 
10 #pragma once
11 
12 #include <stdio.h>
13 
14 #include <com/sun/star/lang/XServiceInfo.hpp>
15 #include <com/sun/star/task/XStatusIndicator.hpp>
16 #include <com/sun/star/lang/XInitialization.hpp>
17 #include <cppuhelper/implbase.hxx>
18 
19 namespace desktop {
20 
21 class UnxSplashScreen : public ::cppu::WeakImplHelper< css::task::XStatusIndicator, css::lang::XInitialization, css::lang::XServiceInfo >
22 {
23 private:
24  UnxSplashScreen( const UnxSplashScreen& ) = delete;
25  UnxSplashScreen operator =( const UnxSplashScreen& ) = delete;
26 
27  virtual ~UnxSplashScreen() override;
28 
30 
31 public:
32  explicit UnxSplashScreen();
33 
34  // XStatusIndicator
35  virtual void SAL_CALL start( const OUString& aText, sal_Int32 nRange ) override;
36  virtual void SAL_CALL end() override;
37  virtual void SAL_CALL reset() override;
38  virtual void SAL_CALL setText( const OUString& aText ) override;
39  virtual void SAL_CALL setValue( sal_Int32 nValue ) override;
40 
41  // XInitialize
42  virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any>& aArguments ) override;
43 
44  virtual OUString SAL_CALL getImplementationName() override;
45 
46  virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override;
47 
48  virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
49 };
50 
51 }
52 
53 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unxsplash.cxx:114
virtual void SAL_CALL setText(const OUString &aText) override
Definition: unxsplash.cxx:70
virtual void SAL_CALL setValue(sal_Int32 nValue) override
Definition: unxsplash.cxx:75
Definition: app.cxx:164
virtual void SAL_CALL end() override
Definition: unxsplash.cxx:50
UnxSplashScreen operator=(const UnxSplashScreen &)=delete
virtual ~UnxSplashScreen() override
Definition: unxsplash.cxx:36
unsigned char sal_Bool
virtual void SAL_CALL start(const OUString &aText, sal_Int32 nRange) override
Definition: unxsplash.cxx:46
virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > &aArguments) override
Definition: unxsplash.cxx:86
virtual sal_Bool SAL_CALL supportsService(OUString const &ServiceName) override
Definition: unxsplash.cxx:109
virtual void SAL_CALL reset() override
Definition: unxsplash.cxx:60
virtual OUString SAL_CALL getImplementationName() override
Definition: unxsplash.cxx:104