Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
8389519a
Kaydet (Commit)
8389519a
authored
Ock 08, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Missing XServiceInfo
Change-Id: Ifc5454bbcd29730002b0a3261d2c34dee8ffb843
üst
6dfc7d12
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
4 deletions
+47
-4
splash.cxx
desktop/source/splash/splash.cxx
+16
-2
unxsplash.cxx
desktop/source/splash/unxsplash.cxx
+20
-0
unxsplash.hxx
desktop/source/splash/unxsplash.hxx
+11
-2
No files found.
desktop/source/splash/splash.cxx
Dosyayı görüntüle @
8389519a
...
...
@@ -26,9 +26,11 @@
#include <vcl/salnativewidgets.hxx>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/registry/XRegistryKey.hpp>
#include <com/sun/star/task/XStatusIndicator.hpp>
#include <cppuhelper/implbase2.hxx>
#include <cppuhelper/implbase3.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <rtl/bootstrap.hxx>
#include <rtl/strbuf.hxx>
#include <rtl/math.hxx>
...
...
@@ -46,7 +48,7 @@ using namespace ::com::sun::star::uno;
namespace
{
class
SplashScreen
:
public
::
cppu
::
WeakImplHelper
2
<
XStatusIndicator
,
XInitialization
>
:
public
::
cppu
::
WeakImplHelper
3
<
XStatusIndicator
,
XInitialization
,
XServiceInfo
>
,
public
IntroWindow
{
private
:
...
...
@@ -99,6 +101,18 @@ public:
virtual
void
SAL_CALL
initialize
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Any
>&
aArguments
)
throw
(
RuntimeException
);
virtual
OUString
SAL_CALL
getImplementationName
()
throw
(
css
::
uno
::
RuntimeException
)
{
return
desktop
::
splash
::
getImplementationName
();
}
virtual
sal_Bool
SAL_CALL
supportsService
(
OUString
const
&
ServiceName
)
throw
(
css
::
uno
::
RuntimeException
)
{
return
cppu
::
supportsService
(
this
,
ServiceName
);
}
virtual
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
getSupportedServiceNames
()
throw
(
css
::
uno
::
RuntimeException
)
{
return
desktop
::
splash
::
getSupportedServiceNames
();
}
// workwindow
virtual
void
Paint
(
const
Rectangle
&
);
...
...
desktop/source/splash/unxsplash.cxx
Dosyayı görüntüle @
8389519a
...
...
@@ -22,6 +22,7 @@
#include <osl/process.h>
//#include <com/sun/star/registry/XRegistryKey.hpp>
#include <cppuhelper/implementationentry.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/math.hxx>
...
...
@@ -118,6 +119,25 @@ UnxSplashScreen::initialize( const ::com::sun::star::uno::Sequence< ::com::sun::
}
}
}
OUString
UnxSplashScreen
::
getImplementationName
()
throw
(
css
::
uno
::
RuntimeException
)
{
return
UnxSplash_getImplementationName
();
}
sal_Bool
UnxSplashScreen
::
supportsService
(
OUString
const
&
ServiceName
)
throw
(
css
::
uno
::
RuntimeException
)
{
return
cppu
::
supportsService
(
this
,
ServiceName
);
}
css
::
uno
::
Sequence
<
OUString
>
UnxSplashScreen
::
getSupportedServiceNames
()
throw
(
css
::
uno
::
RuntimeException
)
{
return
UnxSplash_getSupportedServiceNames
();
}
}
using
namespace
desktop
;
...
...
desktop/source/splash/unxsplash.hxx
Dosyayı görüntüle @
8389519a
...
...
@@ -16,7 +16,7 @@
#include <com/sun/star/registry/XRegistryKey.hpp>
#include <com/sun/star/task/XStatusIndicator.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <cppuhelper/implbase
2
.hxx>
#include <cppuhelper/implbase
3
.hxx>
#include <cppuhelper/interfacecontainer.h>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <osl/mutex.hxx>
...
...
@@ -29,7 +29,7 @@ using namespace ::com::sun::star::uno;
namespace
desktop
{
class
UnxSplashScreen
:
public
::
cppu
::
WeakImplHelper
2
<
css
::
task
::
XStatusIndicator
,
css
::
lang
::
XInitialization
>
class
UnxSplashScreen
:
public
::
cppu
::
WeakImplHelper
3
<
css
::
task
::
XStatusIndicator
,
css
::
lang
::
XInitialization
,
css
::
lang
::
XServiceInfo
>
{
private
:
// don't allow anybody but ourselves to create instances of this class
...
...
@@ -58,6 +58,15 @@ public:
// XInitialize
virtual
void
SAL_CALL
initialize
(
const
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>&
aArguments
)
throw
(
css
::
uno
::
RuntimeException
);
virtual
OUString
SAL_CALL
getImplementationName
()
throw
(
css
::
uno
::
RuntimeException
);
virtual
sal_Bool
SAL_CALL
supportsService
(
OUString
const
&
ServiceName
)
throw
(
css
::
uno
::
RuntimeException
);
virtual
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
getSupportedServiceNames
()
throw
(
css
::
uno
::
RuntimeException
);
};
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment