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
0ff1aaf8
Kaydet (Commit)
0ff1aaf8
authored
Ock 14, 2008
tarafından
Ivo Hinkelmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS aquavcl04 (1.2.48); FILE MERGED
2007/12/10 14:00:53 pl 1.2.48.1: #i77588# add user document path
üst
ab049ea6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
15 deletions
+44
-15
macbackend.cxx
shell/source/backends/macbe/macbackend.cxx
+16
-6
macbackend.hxx
shell/source/backends/macbe/macbackend.hxx
+3
-2
macbelayer.hxx
shell/source/backends/macbe/macbelayer.hxx
+19
-4
makefile.mk
shell/source/backends/macbe/makefile.mk
+6
-3
No files found.
shell/source/backends/macbe/macbackend.cxx
Dosyayı görüntüle @
0ff1aaf8
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
*
*
* $RCSfile: macbackend.cxx,v $
* $RCSfile: macbackend.cxx,v $
*
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
*
* last change: $Author: ihi $ $Date: 200
7-04-16 11:52:18
$
* last change: $Author: ihi $ $Date: 200
8-01-14 15:56:19
$
*
*
* The Contents of this file are made available subject to
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
* the terms of GNU Lesser General Public License Version 2.1.
...
@@ -47,6 +47,9 @@
...
@@ -47,6 +47,9 @@
#include <uno/current_context.hxx>
#include <uno/current_context.hxx>
#endif
#endif
#define MACBE_INET_COMPONENT "org.openoffice.Inet"
#define MACBE_PATHS_COMPONENT "org.openoffice.Office.Paths"
MacOSXBackend
::
MacOSXBackend
(
const
uno
::
Reference
<
uno
::
XComponentContext
>&
xContext
)
MacOSXBackend
::
MacOSXBackend
(
const
uno
::
Reference
<
uno
::
XComponentContext
>&
xContext
)
throw
(
backend
::
BackendAccessException
)
:
throw
(
backend
::
BackendAccessException
)
:
::
cppu
::
WeakImplHelper2
<
backend
::
XSingleLayerStratum
,
lang
::
XServiceInfo
>
(),
::
cppu
::
WeakImplHelper2
<
backend
::
XSingleLayerStratum
,
lang
::
XServiceInfo
>
(),
...
@@ -72,13 +75,19 @@ MacOSXBackend* MacOSXBackend::createInstance(const uno::Reference<uno::XComponen
...
@@ -72,13 +75,19 @@ MacOSXBackend* MacOSXBackend::createInstance(const uno::Reference<uno::XComponen
uno
::
Reference
<
backend
::
XLayer
>
SAL_CALL
MacOSXBackend
::
getLayer
(
const
rtl
::
OUString
&
aComponent
,
const
rtl
::
OUString
&
/*aTimestamp*/
)
uno
::
Reference
<
backend
::
XLayer
>
SAL_CALL
MacOSXBackend
::
getLayer
(
const
rtl
::
OUString
&
aComponent
,
const
rtl
::
OUString
&
/*aTimestamp*/
)
throw
(
backend
::
BackendAccessException
,
lang
::
IllegalArgumentException
)
throw
(
backend
::
BackendAccessException
,
lang
::
IllegalArgumentException
)
{
{
if
(
aComponent
.
equals
(
getSupportedComponents
()[
0
]
)
)
if
(
aComponent
.
equals
Ascii
(
MACBE_INET_COMPONENT
)
)
{
{
if
(
!
m_xSystemLayer
.
is
()
)
if
(
!
m_xSystemLayer
.
is
()
)
m_xSystemLayer
=
new
MacOSXLayer
(
m_xContext
);
m_xSystemLayer
=
new
MacOSXLayer
(
m_xContext
);
return
m_xSystemLayer
;
return
m_xSystemLayer
;
}
}
else
if
(
aComponent
.
equalsAscii
(
MACBE_PATHS_COMPONENT
)
)
{
if
(
!
m_xPathLayer
.
is
()
)
m_xPathLayer
=
new
MacOSXPathLayer
(
m_xContext
);
return
m_xPathLayer
;
}
return
uno
::
Reference
<
backend
::
XLayer
>
();
return
uno
::
Reference
<
backend
::
XLayer
>
();
}
}
...
@@ -150,8 +159,9 @@ uno::Sequence<rtl::OUString> SAL_CALL MacOSXBackend::getSupportedServiceNames(vo
...
@@ -150,8 +159,9 @@ uno::Sequence<rtl::OUString> SAL_CALL MacOSXBackend::getSupportedServiceNames(vo
uno
::
Sequence
<
rtl
::
OUString
>
SAL_CALL
MacOSXBackend
::
getSupportedComponents
(
void
)
uno
::
Sequence
<
rtl
::
OUString
>
SAL_CALL
MacOSXBackend
::
getSupportedComponents
(
void
)
{
{
uno
::
Sequence
<
rtl
::
OUString
>
aSupportedComponentList
(
1
);
uno
::
Sequence
<
rtl
::
OUString
>
aSupportedComponentList
(
2
);
aSupportedComponentList
[
0
]
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"org.openoffice.Inet"
));
aSupportedComponentList
[
0
]
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
MACBE_INET_COMPONENT
)
);
aSupportedComponentList
[
1
]
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
MACBE_PATHS_COMPONENT
)
);
return
aSupportedComponentList
;
return
aSupportedComponentList
;
}
}
...
...
shell/source/backends/macbe/macbackend.hxx
Dosyayı görüntüle @
0ff1aaf8
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
*
*
* $RCSfile: macbackend.hxx,v $
* $RCSfile: macbackend.hxx,v $
*
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
*
* last change: $Author: ihi $ $Date: 200
7-04-16 11:52:45
$
* last change: $Author: ihi $ $Date: 200
8-01-14 15:56:32
$
*
*
* The Contents of this file are made available subject to
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
* the terms of GNU Lesser General Public License Version 2.1.
...
@@ -134,6 +134,7 @@ private:
...
@@ -134,6 +134,7 @@ private:
uno
::
Reference
<
uno
::
XComponentContext
>
m_xContext
;
uno
::
Reference
<
uno
::
XComponentContext
>
m_xContext
;
uno
::
Reference
<
backend
::
XLayer
>
m_xSystemLayer
;
uno
::
Reference
<
backend
::
XLayer
>
m_xSystemLayer
;
uno
::
Reference
<
backend
::
XLayer
>
m_xPathLayer
;
};
};
...
...
shell/source/backends/macbe/macbelayer.hxx
Dosyayı görüntüle @
0ff1aaf8
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
*
*
* $RCSfile: macbelayer.hxx,v $
* $RCSfile: macbelayer.hxx,v $
*
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
*
* last change: $Author: ihi $ $Date: 200
7-04-16 11:54:02
$
* last change: $Author: ihi $ $Date: 200
8-01-14 15:57:00
$
*
*
* The Contents of this file are made available subject to
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
* the terms of GNU Lesser General Public License Version 2.1.
...
@@ -90,7 +90,7 @@ public:
...
@@ -90,7 +90,7 @@ public:
MacOSXLayer
(
const
uno
::
Reference
<
uno
::
XComponentContext
>&
xContext
);
MacOSXLayer
(
const
uno
::
Reference
<
uno
::
XComponentContext
>&
xContext
);
/** Destructor */
/** Destructor */
~
MacOSXLayer
(
void
)
{}
virtual
~
MacOSXLayer
(
void
)
{}
// XLayer
// XLayer
virtual
void
SAL_CALL
readData
(
const
uno
::
Reference
<
backend
::
XLayerHandler
>&
xHandler
)
virtual
void
SAL_CALL
readData
(
const
uno
::
Reference
<
backend
::
XLayerHandler
>&
xHandler
)
...
@@ -103,7 +103,7 @@ public:
...
@@ -103,7 +103,7 @@ public:
virtual
rtl
::
OUString
SAL_CALL
getTimestamp
(
void
)
virtual
rtl
::
OUString
SAL_CALL
getTimestamp
(
void
)
throw
(
uno
::
RuntimeException
);
throw
(
uno
::
RuntimeException
);
pr
ivate
:
pr
otected
:
rtl
::
OUString
m_aComponent
;
rtl
::
OUString
m_aComponent
;
...
@@ -111,4 +111,19 @@ private:
...
@@ -111,4 +111,19 @@ private:
};
};
class
MacOSXPathLayer
:
public
MacOSXLayer
{
public
:
MacOSXPathLayer
(
const
uno
::
Reference
<
uno
::
XComponentContext
>&
i_xContext
)
:
MacOSXLayer
(
i_xContext
)
{}
virtual
~
MacOSXPathLayer
()
{}
// XLayer
virtual
void
SAL_CALL
readData
(
const
uno
::
Reference
<
backend
::
XLayerHandler
>&
i_xHandler
)
throw
(
backend
::
MalformedDataException
,
lang
::
NullPointerException
,
lang
::
WrappedTargetException
,
uno
::
RuntimeException
);
};
#endif // _MACBELAYER_HXX_
#endif // _MACBELAYER_HXX_
shell/source/backends/macbe/makefile.mk
Dosyayı görüntüle @
0ff1aaf8
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
#
#
# $RCSfile: makefile.mk,v $
# $RCSfile: makefile.mk,v $
#
#
# $Revision: 1.
2
$
# $Revision: 1.
3
$
#
#
# last change: $Author: ihi $ $Date: 200
7-04-16 11:54:20
$
# last change: $Author: ihi $ $Date: 200
8-01-14 15:57:15
$
#
#
# The Contents of this file are made available subject to
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
# the terms of GNU Lesser General Public License Version 2.1.
...
@@ -58,6 +58,9 @@ dummy:
...
@@ -58,6 +58,9 @@ dummy:
.ELSE
.ELSE
OBJCXXFLAGS
=
-x
objective-c++
-fobjc-exceptions
CFLAGSCXX
+=
$(OBJCXXFLAGS)
SLOFILES
=
\
SLOFILES
=
\
$(SLO)$/
macbecdef.obj
\
$(SLO)$/
macbecdef.obj
\
$(SLO)$/
macbackend.obj
\
$(SLO)$/
macbackend.obj
\
...
@@ -72,7 +75,7 @@ SHL1STDLIBS= \
...
@@ -72,7 +75,7 @@ SHL1STDLIBS= \
$(CPPUHELPERLIB)
\
$(CPPUHELPERLIB)
\
$(CPPULIB)
\
$(CPPULIB)
\
$(SALLIB)
\
$(SALLIB)
\
-framework
C
arbon
-framework
SystemConfiguration
-framework
C
ocoa
-framework
SystemConfiguration
SHL1VERSIONMAP
=
exports.map
SHL1VERSIONMAP
=
exports.map
SHL1DEF
=
$(MISC)$/$(SHL1TARGET)
.def
SHL1DEF
=
$(MISC)$/$(SHL1TARGET)
.def
...
...
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