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
2921d677
Kaydet (Commit)
2921d677
authored
Agu 28, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Rename stuff, in preparation of dconf::writeModifications
Change-Id: Icd472e91b222907e2cdcbdba1b78b33c44eff566
üst
12f92e6d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
+12
-12
Library_configmgr.mk
configmgr/Library_configmgr.mk
+1
-1
components.cxx
configmgr/source/components.cxx
+2
-2
dconf.cxx
configmgr/source/dconf.cxx
+4
-4
dconf.hxx
configmgr/source/dconf.hxx
+5
-5
No files found.
configmgr/Library_configmgr.mk
Dosyayı görüntüle @
2921d677
...
@@ -43,7 +43,7 @@ $(eval $(call gb_Library_add_exception_objects,configmgr, \
...
@@ -43,7 +43,7 @@ $(eval $(call gb_Library_add_exception_objects,configmgr, \
configmgr/source/xcsparser \
configmgr/source/xcsparser \
configmgr/source/xcuparser \
configmgr/source/xcuparser \
configmgr/source/xmldata \
configmgr/source/xmldata \
$(if $(ENABLE_DCONF),configmgr/source/
readdconflayer
) \
$(if $(ENABLE_DCONF),configmgr/source/
dconf
) \
$(if $(filter $(OS),WNT),configmgr/source/winreg) \
$(if $(filter $(OS),WNT),configmgr/source/winreg) \
))
))
...
...
configmgr/source/components.cxx
Dosyayı görüntüle @
2921d677
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
#include "xcsparser.hxx"
#include "xcsparser.hxx"
#if ENABLE_DCONF
#if ENABLE_DCONF
#include <
readdconflayer
.hxx>
#include <
dconf
.hxx>
#endif
#endif
#if defined WNT
#if defined WNT
...
@@ -536,7 +536,7 @@ Components::Components(
...
@@ -536,7 +536,7 @@ Components::Components(
if
(
url
==
"!"
)
{
if
(
url
==
"!"
)
{
modificationTarget_
=
ModificationTarget
::
Dconf
;
modificationTarget_
=
ModificationTarget
::
Dconf
;
}
else
if
(
url
==
"*"
)
{
}
else
if
(
url
==
"*"
)
{
readDconf
Layer
(
data_
,
layer
);
dconf
::
read
Layer
(
data_
,
layer
);
}
else
{
}
else
{
throw
css
::
uno
::
RuntimeException
(
throw
css
::
uno
::
RuntimeException
(
"CONFIGURATION_LAYERS: unknown
\"
dconf
\"
kind
\"
"
+
url
"CONFIGURATION_LAYERS: unknown
\"
dconf
\"
kind
\"
"
+
url
...
...
configmgr/source/
readdconflayer
.cxx
→
configmgr/source/
dconf
.cxx
Dosyayı görüntüle @
2921d677
...
@@ -20,12 +20,12 @@
...
@@ -20,12 +20,12 @@
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <data.hxx>
#include <data.hxx>
#include <dconf.hxx>
#include <groupnode.hxx>
#include <groupnode.hxx>
#include <localizedpropertynode.hxx>
#include <localizedpropertynode.hxx>
#include <localizedvaluenode.hxx>
#include <localizedvaluenode.hxx>
#include <nodemap.hxx>
#include <nodemap.hxx>
#include <propertynode.hxx>
#include <propertynode.hxx>
#include <readdconflayer.hxx>
#include <setnode.hxx>
#include <setnode.hxx>
// component-data is encoded in dconf as follows:
// component-data is encoded in dconf as follows:
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
//
//
// TODO: support "mandatory" and "external"?
// TODO: support "mandatory" and "external"?
namespace
configmgr
{
namespace
configmgr
{
namespace
dconf
{
namespace
{
namespace
{
...
@@ -941,13 +941,13 @@ void readDir(
...
@@ -941,13 +941,13 @@ void readDir(
}
}
void
read
Dconf
Layer
(
Data
&
data
,
int
layer
)
{
void
readLayer
(
Data
&
data
,
int
layer
)
{
GObjectHolder
<
DConfClient
>
client
(
dconf_client_new
());
GObjectHolder
<
DConfClient
>
client
(
dconf_client_new
());
readDir
(
readDir
(
data
,
layer
,
rtl
::
Reference
<
Node
>
(),
data
.
getComponents
(),
client
,
data
,
layer
,
rtl
::
Reference
<
Node
>
(),
data
.
getComponents
(),
client
,
"/org/libreoffice/registry/"
);
"/org/libreoffice/registry/"
);
}
}
}
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
configmgr/source/
readdconflayer
.hxx
→
configmgr/source/
dconf
.hxx
Dosyayı görüntüle @
2921d677
...
@@ -7,18 +7,18 @@
...
@@ -7,18 +7,18 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
*/
#ifndef INCLUDED_CONFIGMGR_SOURCE_
READDCONFLAYER
_HXX
#ifndef INCLUDED_CONFIGMGR_SOURCE_
DCONF
_HXX
#define INCLUDED_CONFIGMGR_SOURCE_
READDCONFLAYER
_HXX
#define INCLUDED_CONFIGMGR_SOURCE_
DCONF
_HXX
#include <sal/config.h>
#include <sal/config.h>
namespace
configmgr
{
struct
Data
;
}
namespace
configmgr
{
struct
Data
;
}
namespace
configmgr
{
namespace
configmgr
{
namespace
dconf
{
void
read
Dconf
Layer
(
Data
&
data
,
int
layer
);
void
readLayer
(
Data
&
data
,
int
layer
);
}
}
}
#endif
#endif
...
...
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