1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <sal/log.hxx>
#include <vcl/bitmapex.hxx>
#include <vcl/svapp.hxx>
#include <vcl/salnativewidgets.hxx>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/task/XStatusIndicator.hpp>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <rtl/bootstrap.hxx>
#include <rtl/math.hxx>
#include <vcl/introwin.hxx>
#include <vcl/virdev.hxx>
#include <o3tl/string_view.hxx>
#include <mutex>
#define NOT_LOADED (tools::Long(-1))
#define NOT_LOADED_COLOR (Color(ColorTransparency, 0xffffffff))
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::task;
using namespace ::com::sun::star::uno;
namespace {
class SplashScreen;
class SplashScreenWindow : public IntroWindow
{
public:
SplashScreen *pSpl;
ScopedVclPtr<VirtualDevice> _vdev;
explicit SplashScreenWindow(SplashScreen *);
virtual ~SplashScreenWindow() override { disposeOnce(); }
virtual void dispose() override;
// workwindow
virtual void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&) override;
void Redraw();
};
class SplashScreen
: public ::cppu::WeakImplHelper< XStatusIndicator, XInitialization, XServiceInfo >
{
friend class SplashScreenWindow;
private:
VclPtr<SplashScreenWindow> pWindow;
DECL_LINK( AppEventListenerHdl, VclSimpleEvent&, void );
virtual ~SplashScreen() override;
void loadConfig();
void updateStatus();
void SetScreenBitmap(BitmapEx &rBitmap);
static void determineProgressRatioValues( double& rXRelPos, double& rYRelPos, double& rRelWidth, double& rRelHeight );
BitmapEx _aIntroBmp;
Color _cProgressFrameColor;
Color _cProgressBarColor;
Color _cProgressTextColor;
bool _bNativeProgress;
OUString _sAppName;
OUString _sProgressText;
sal_Int32 _iMax;
sal_Int32 _iProgress;
bool _bPaintProgress;
bool _bVisible;
bool _bShowLogo;
bool _bFullScreenSplash;
bool _bProgressEnd;
tools::Long _height, _width, _tlx, _tly, _barwidth;
tools::Long _barheight, _barspace, _textBaseline;
double _fXPos, _fYPos;
double _fWidth, _fHeight;
static constexpr tools::Long _xoffset = 12, _yoffset = 18;
public:
SplashScreen();
// XStatusIndicator
virtual void SAL_CALL end() override;
virtual void SAL_CALL reset() override;
virtual void SAL_CALL setText(const OUString& aText) override;
virtual void SAL_CALL setValue(sal_Int32 nValue) override;
virtual void SAL_CALL start(const OUString& aText, sal_Int32 nRange) override;
// XInitialize
virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any>& aArguments ) override;
virtual OUString SAL_CALL getImplementationName() override
{ return u"com.sun.star.office.comp.SplashScreen"_ustr; }
virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override
{ return cppu::supportsService(this, ServiceName); }
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override
{ return { u"com.sun.star.office.SplashScreen"_ustr }; }
};
SplashScreenWindow::SplashScreenWindow(SplashScreen *pSplash)
: pSpl( pSplash )
, _vdev(VclPtr<VirtualDevice>::Create(*GetOutDev()))
{
_vdev->EnableRTL(IsRTLEnabled());
}
void SplashScreenWindow::dispose()
{
pSpl = nullptr;
IntroWindow::dispose();
}
void SplashScreenWindow::Redraw()
{
Invalidate();
// Trigger direct painting too - otherwise the splash screen won't be
// shown in some cases (when the idle timer won't be hit).
Paint(*GetOutDev(), tools::Rectangle());
GetOutDev()->Flush();
}
SplashScreen::SplashScreen()
: pWindow( VclPtr<SplashScreenWindow>::Create(this) )
, _cProgressFrameColor(NOT_LOADED_COLOR)
, _cProgressBarColor(NOT_LOADED_COLOR)
, _cProgressTextColor(NOT_LOADED_COLOR)
, _bNativeProgress(true)
, _iMax(100)
, _iProgress(0)
, _bPaintProgress(false)
, _bVisible(true)
, _bShowLogo(true)
, _bFullScreenSplash(false)
, _bProgressEnd(false)
, _height(0)
, _width(0)
, _tlx(NOT_LOADED)
, _tly(NOT_LOADED)
, _barwidth(NOT_LOADED)
, _barheight(NOT_LOADED)
, _barspace(2)
, _textBaseline(NOT_LOADED)
, _fXPos(-1.0)
, _fYPos(-1.0)
, _fWidth(-1.0)
, _fHeight(-1.0)
{
loadConfig();
}
SplashScreen::~SplashScreen()
{
Application::RemoveEventListener(
LINK( this, SplashScreen, AppEventListenerHdl ) );
pWindow->Hide();
pWindow.disposeAndClear();
}
void SAL_CALL SplashScreen::start(const OUString&, sal_Int32 nRange)
{
_iMax = nRange;
if (_bVisible) {
_bProgressEnd = false;
SolarMutexGuard aSolarGuard;
pWindow->Show();
pWindow->Redraw();
}
}
void SAL_CALL SplashScreen::end()
{
_iProgress = _iMax;
if (_bVisible )
{
pWindow->Hide();
}
_bProgressEnd = true;
}
void SAL_CALL SplashScreen::reset()
{
_iProgress = 0;
if (_bVisible && !_bProgressEnd )
{
pWindow->Show();
updateStatus();
}
}
void SAL_CALL SplashScreen::setText(const OUString& rText)
{
SolarMutexGuard aSolarGuard;
if ( _sProgressText != rText )
{
_sProgressText = rText;
if (_bVisible && !_bProgressEnd)
{
pWindow->Show();
updateStatus();
}
}
}
void SAL_CALL SplashScreen::setValue(sal_Int32 nValue)
{
SAL_INFO( "desktop.splash", "setValue: " << nValue );
SolarMutexGuard aSolarGuard;
if (_bVisible && !_bProgressEnd) {
pWindow->Show();
if (nValue >= _iMax)
_iProgress = _iMax;
else
_iProgress = nValue;
updateStatus();
}
}
// XInitialize
void SAL_CALL
SplashScreen::initialize( const css::uno::Sequence< css::uno::Any>& aArguments )
{
static std::mutex aMutex;
std::lock_guard aGuard( aMutex );
if (!aArguments.hasElements())
return;
aArguments[0] >>= _bVisible;
if (aArguments.getLength() > 1 )
aArguments[1] >>= _sAppName;
// start to determine bitmap and all other required value
if ( _bShowLogo )
SetScreenBitmap (_aIntroBmp);
Size aSize = _aIntroBmp.GetSizePixel();
pWindow->SetOutputSizePixel( aSize );
pWindow->_vdev->SetOutputSizePixel( aSize );
_height = aSize.Height();
_width = aSize.Width();
if (_width > 500)
{
Point xtopleft(212,216);
if ( NOT_LOADED == _tlx || NOT_LOADED == _tly )
{
_tlx = xtopleft.X(); // top-left x
_tly = xtopleft.Y(); // top-left y
}
if ( NOT_LOADED == _barwidth )
_barwidth = 263;
if ( NOT_LOADED == _barheight )
_barheight = 8;
}
else
{
if ( NOT_LOADED == _barwidth )
_barwidth = _width - (2 * _xoffset);
if ( NOT_LOADED == _barheight )
_barheight = 6;
if ( NOT_LOADED == _tlx || NOT_LOADED == _tly )
{
_tlx = _xoffset; // top-left x
_tly = _height - _yoffset; // top-left y
}
}
if ( NOT_LOADED == _textBaseline )
_textBaseline = _height;
if ( NOT_LOADED_COLOR == _cProgressFrameColor )
_cProgressFrameColor = COL_LIGHTGRAY;
if ( NOT_LOADED_COLOR == _cProgressBarColor )
{
// progress bar: new color only for big bitmap format
if ( _width > 500 )
_cProgressBarColor = Color( 157, 202, 18 );
else
_cProgressBarColor = COL_BLUE;
}
if ( NOT_LOADED_COLOR == _cProgressTextColor )
_cProgressTextColor = COL_BLACK;
Application::AddEventListener(
LINK( this, SplashScreen, AppEventListenerHdl ) );
}
void SplashScreen::updateStatus()
{
if (!_bVisible || _bProgressEnd)
return;
if (!_bPaintProgress)
_bPaintProgress = true;
pWindow->Redraw();
}
// internal private methods
IMPL_LINK( SplashScreen, AppEventListenerHdl, VclSimpleEvent&, inEvent, void )
{
if (static_cast<VclWindowEvent&>(inEvent).GetWindow() == pWindow)
{
switch ( inEvent.GetId() )
{
case VclEventId::WindowShow:
pWindow->Redraw();
break;
default:
break;
}
}
}
// Read keys from soffice{.ini|rc}:
OUString implReadBootstrapKey( const OUString& _rKey )
{
OUString sValue;
rtl::Bootstrap::get(_rKey, sValue);
return sValue;
}
void SplashScreen::loadConfig()
{
_bShowLogo = implReadBootstrapKey( u"Logo"_ustr ) != "0";
OUString sProgressFrameColor = implReadBootstrapKey( u"ProgressFrameColor"_ustr );
OUString sProgressBarColor = implReadBootstrapKey( u"ProgressBarColor"_ustr );
OUString sProgressTextColor = implReadBootstrapKey( u"ProgressTextColor"_ustr );
OUString sProgressTextBaseline = implReadBootstrapKey( u"ProgressTextBaseline"_ustr );
OUString sSize = implReadBootstrapKey( u"ProgressSize"_ustr );
OUString sPosition = implReadBootstrapKey( u"ProgressPosition"_ustr );
OUString sFullScreenSplash = implReadBootstrapKey( u"FullScreenSplash"_ustr );
OUString sNativeProgress = implReadBootstrapKey( u"NativeProgress"_ustr );
// Determine full screen splash mode
_bFullScreenSplash = (( !sFullScreenSplash.isEmpty() ) &&
( sFullScreenSplash != "0" ));
// Try to retrieve the relative values for the progress bar. The current
// schema uses the screen ratio to retrieve the associated values.
if ( _bFullScreenSplash )
determineProgressRatioValues( _fXPos, _fYPos, _fWidth, _fHeight );
if ( !sProgressFrameColor.isEmpty() )
{
sal_uInt8 nRed = 0;
sal_Int32 idx = 0;
sal_Int32 temp = o3tl::toInt32(o3tl::getToken(sProgressFrameColor, 0, ',', idx ));
if ( idx != -1 )
{
nRed = static_cast< sal_uInt8 >( temp );
temp = o3tl::toInt32(o3tl::getToken(sProgressFrameColor, 0, ',', idx ));
}
if ( idx != -1 )
{
sal_uInt8 nGreen = static_cast< sal_uInt8 >( temp );
sal_uInt8 nBlue = static_cast< sal_uInt8 >( o3tl::toInt32(o3tl::getToken(sProgressFrameColor, 0, ',', idx )) );
_cProgressFrameColor = Color( nRed, nGreen, nBlue );
}
}
if ( !sProgressBarColor.isEmpty() )
{
sal_uInt8 nRed = 0;
sal_Int32 idx = 0;
sal_Int32 temp = o3tl::toInt32(o3tl::getToken(sProgressBarColor, 0, ',', idx ));
if ( idx != -1 )
{
nRed = static_cast< sal_uInt8 >( temp );
temp = o3tl::toInt32(o3tl::getToken(sProgressBarColor, 0, ',', idx ));
}
if ( idx != -1 )
{
sal_uInt8 nGreen = static_cast< sal_uInt8 >( temp );
sal_uInt8 nBlue = static_cast< sal_uInt8 >( o3tl::toInt32(o3tl::getToken(sProgressBarColor, 0, ',', idx )) );
_cProgressBarColor = Color( nRed, nGreen, nBlue );
}
}
if ( !sProgressTextColor.isEmpty() )
{
sal_uInt8 nRed = 0;
sal_Int32 idx = 0;
sal_Int32 temp = o3tl::toInt32(o3tl::getToken(sProgressTextColor, 0, ',', idx ));
if ( idx != -1 )
{
nRed = static_cast< sal_uInt8 >( temp );
temp = o3tl::toInt32(o3tl::getToken(sProgressTextColor, 0, ',', idx ));
}
if ( idx != -1 )
{
sal_uInt8 nGreen = static_cast< sal_uInt8 >( temp );
sal_uInt8 nBlue = static_cast< sal_uInt8 >( o3tl::toInt32(o3tl::getToken(sProgressTextColor, 0, ',', idx )) );
_cProgressTextColor = Color( nRed, nGreen, nBlue );
}
}
if ( !sProgressTextBaseline.isEmpty() )
{
_textBaseline = sProgressTextBaseline.toInt32();
}
if( !sNativeProgress.isEmpty() )
{
_bNativeProgress = sNativeProgress.toBoolean();
}
if ( !sSize.isEmpty() )
{
sal_Int32 idx = 0;
sal_Int32 temp = o3tl::toInt32(o3tl::getToken(sSize, 0, ',', idx ));
if ( idx != -1 )
{
_barwidth = temp;
_barheight = o3tl::toInt32(o3tl::getToken(sSize, 0, ',', idx ));
}
}
if ( _barheight >= 10 )
_barspace = 3; // more space between frame and bar
if ( !sPosition.isEmpty() )
{
sal_Int32 idx = 0;
sal_Int32 temp = o3tl::toInt32(o3tl::getToken(sPosition, 0, ',', idx ));
if ( idx != -1 )
{
_tlx = temp;
_tly = o3tl::toInt32(o3tl::getToken(sPosition, 0, ',', idx ));
}
}
}
void SplashScreen::SetScreenBitmap(BitmapEx &rBitmap)
{
sal_Int32 nWidth( 0 );
sal_Int32 nHeight( 0 );
// determine desktop resolution
sal_uInt32 nCount = Application::GetScreenCount();
if ( nCount > 0 )
{
// retrieve size from first screen
AbsoluteScreenPixelRectangle aScreenArea = Application::GetScreenPosSizePixel(static_cast<unsigned int>(0));
nWidth = aScreenArea.GetWidth();
nHeight = aScreenArea.GetHeight();
}
// create file name from screen resolution information
OUString aResBuf = "_" + OUString::number(nWidth) + "x" + OUString::number(nHeight);
if ( !_sAppName.isEmpty() )
if (Application::LoadBrandBitmap(Concat2View("intro_" + _sAppName + aResBuf), rBitmap))
return;
if (Application::LoadBrandBitmap(Concat2View("intro" + aResBuf), rBitmap))
return;
(void)Application::LoadBrandBitmap (u"intro", rBitmap);
}
void SplashScreen::determineProgressRatioValues(
double& rXRelPos, double& rYRelPos,
double& rRelWidth, double& rRelHeight )
{
sal_Int32 nScreenRatio( 0 );
// determine desktop resolution
sal_uInt32 nCount = Application::GetScreenCount();
if ( nCount > 0 )
{
// retrieve size from first screen
AbsoluteScreenPixelRectangle aScreenArea = Application::GetScreenPosSizePixel(static_cast<unsigned int>(0));
sal_Int32 nWidth = aScreenArea.GetWidth();
sal_Int32 nHeight = aScreenArea.GetHeight();
nScreenRatio = nHeight ? sal_Int32( rtl::math::round( double( nWidth ) / double( nHeight ), 2 ) * 100 ) : 0;
}
char szFullScreenProgressRatio[] = "FullScreenProgressRatio0";
char szFullScreenProgressPos[] = "FullScreenProgressPos0";
char szFullScreenProgressSize[] = "FullScreenProgressSize0";
for ( sal_Int32 i = 0; i <= 9; i++ )
{
char cNum = '0' + char( i );
szFullScreenProgressRatio[23] = cNum;
szFullScreenProgressPos[21] = cNum;
szFullScreenProgressSize[22] = cNum;
OUString sFullScreenProgressRatio = implReadBootstrapKey(
OUString::createFromAscii( szFullScreenProgressRatio ) );
if ( !sFullScreenProgressRatio.isEmpty() )
{
double fRatio = sFullScreenProgressRatio.toDouble();
sal_Int32 nRatio = sal_Int32( rtl::math::round( fRatio, 2 ) * 100 );
if ( nRatio == nScreenRatio )
{
OUString sFullScreenProgressPos = implReadBootstrapKey(
OUString::createFromAscii( szFullScreenProgressPos ) );
OUString sFullScreenProgressSize = implReadBootstrapKey(
OUString::createFromAscii( szFullScreenProgressSize ) );
if ( !sFullScreenProgressPos.isEmpty() )
{
sal_Int32 idx = 0;
double temp = o3tl::toDouble(o3tl::getToken(sFullScreenProgressPos, 0, ',', idx ));
if ( idx != -1 )
{
rXRelPos = temp;
rYRelPos = o3tl::toDouble(o3tl::getToken(sFullScreenProgressPos, 0, ',', idx ));
}
}
if ( !sFullScreenProgressSize.isEmpty() )
{
sal_Int32 idx = 0;
double temp = o3tl::toDouble(o3tl::getToken(sFullScreenProgressSize, 0, ',', idx ));
if ( idx != -1 )
{
rRelWidth = temp;
rRelHeight = o3tl::toDouble(o3tl::getToken(sFullScreenProgressSize, 0, ',', idx ));
}
}
}
}
else
break;
}
}
void SplashScreenWindow::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&)
{
if (!pSpl || !pSpl->_bVisible)
return;
//native drawing
// in case of native controls we need to draw directly to the window
if (pSpl->_bNativeProgress && rRenderContext.IsNativeControlSupported(ControlType::IntroProgress, ControlPart::Entire))
{
rRenderContext.DrawBitmapEx(Point(), pSpl->_aIntroBmp);
ImplControlValue aValue( pSpl->_iProgress * pSpl->_barwidth / pSpl->_iMax);
tools::Rectangle aDrawRect( Point(pSpl->_tlx, pSpl->_tly), Size( pSpl->_barwidth, pSpl->_barheight));
tools::Rectangle aNativeControlRegion, aNativeContentRegion;
if (rRenderContext.GetNativeControlRegion(ControlType::IntroProgress, ControlPart::Entire, aDrawRect,
ControlState::ENABLED, aValue,
aNativeControlRegion, aNativeContentRegion))
{
tools::Long nProgressHeight = aNativeControlRegion.GetHeight();
aDrawRect.AdjustTop( -((nProgressHeight - pSpl->_barheight)/2) );
aDrawRect.AdjustBottom((nProgressHeight - pSpl->_barheight)/2 );
}
if (rRenderContext.DrawNativeControl(ControlType::IntroProgress, ControlPart::Entire, aDrawRect,
ControlState::ENABLED, aValue, pSpl->_sProgressText))
{
return;
}
}
// non native drawing
// draw bitmap
_vdev->DrawBitmapEx(Point(), pSpl->_aIntroBmp);
if (pSpl->_bPaintProgress) {
// draw progress...
tools::Long length = (pSpl->_iProgress * pSpl->_barwidth / pSpl->_iMax) - (2 * pSpl->_barspace);
if (length < 0) length = 0;
// border
_vdev->SetFillColor();
_vdev->SetLineColor( pSpl->_cProgressFrameColor );
_vdev->DrawRect(tools::Rectangle(pSpl->_tlx, pSpl->_tly, pSpl->_tlx+pSpl->_barwidth, pSpl->_tly+pSpl->_barheight));
_vdev->SetFillColor( pSpl->_cProgressBarColor );
_vdev->SetLineColor();
_vdev->DrawRect(tools::Rectangle(pSpl->_tlx+pSpl->_barspace, pSpl->_tly+pSpl->_barspace, pSpl->_tlx+pSpl->_barspace+length, pSpl->_tly+pSpl->_barheight-pSpl->_barspace));
vcl::Font aFont;
aFont.SetFontSize(Size(0, 12));
aFont.SetAlignment(ALIGN_BASELINE);
_vdev->SetFont(aFont);
_vdev->SetTextColor(pSpl->_cProgressTextColor);
_vdev->DrawText(Point(pSpl->_tlx, pSpl->_textBaseline), pSpl->_sProgressText);
}
rRenderContext.DrawOutDev(Point(), GetOutputSizePixel(), Point(), _vdev->GetOutputSizePixel(), *_vdev);
}
}
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
desktop_SplashScreen_get_implementation(
css::uno::XComponentContext* , css::uno::Sequence<css::uno::Any> const&)
{
return cppu::acquire(new SplashScreen());
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|