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
cade2b8f
Kaydet (Commit)
cade2b8f
authored
Tem 03, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
No need for a C API here
Change-Id: Ie453a7c97a762932884c5c41b13607a170368107
üst
65560433
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
22 deletions
+14
-22
regapi.hxx
registry/inc/regapi.hxx
+6
-14
keyimpl.hxx
registry/source/keyimpl.hxx
+1
-1
regimpl.hxx
registry/source/regimpl.hxx
+1
-1
registry.cxx
registry/source/registry.cxx
+4
-4
regkey.cxx
registry/source/regkey.cxx
+1
-1
regview.cxx
registry/tools/regview.cxx
+1
-1
No files found.
registry/inc/reg
istry.h
→
registry/inc/reg
api.hxx
Dosyayı görüntüle @
cade2b8f
...
...
@@ -17,18 +17,14 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_REGISTRY_INC_REG
ISTRY_H
#define INCLUDED_REGISTRY_INC_REG
ISTRY_H
#ifndef INCLUDED_REGISTRY_INC_REG
API_HXX
#define INCLUDED_REGISTRY_INC_REG
API_HXX
#include <stddef.h>
#include <rtl/ustring.h>
#include <registry/regtype.h>
#include <registry/regdllapi.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/* __cplusplus */
/** This function creates the specified key.
If the key already exists in the registry, the function opens the key only.
...
...
@@ -295,7 +291,7 @@ REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_freeValueList(RegValueType valueTyp
*/
REG_DLLPUBLIC
RegError
REGISTRY_CALLTYPE
reg_getResolvedKeyName
(
RegKeyHandle
hKey
,
rtl_uString
*
keyName
,
sal_B
ool
firstLinkOnly
,
b
ool
firstLinkOnly
,
rtl_uString
**
pResolvedName
);
/** This function loads registry information from a file and save it under the
...
...
@@ -350,8 +346,8 @@ REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_saveKey(RegKeyHandle hKey,
REG_DLLPUBLIC
RegError
REGISTRY_CALLTYPE
reg_mergeKey
(
RegKeyHandle
hKey
,
rtl_uString
*
keyName
,
rtl_uString
*
regFileName
,
sal_B
ool
bWarnings
,
sal_B
ool
bReport
);
b
ool
bWarnings
,
b
ool
bReport
);
/** This function creates a new registry with the specified name and creates a root key.
...
...
@@ -388,7 +384,7 @@ REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getName(RegHandle hRegistry, rtl_uS
@param hReg identifies a currently open registry.
@return TRUE if accessmode is read only else FALSE.
*/
REG_DLLPUBLIC
sal_B
ool
REGISTRY_CALLTYPE
reg_isReadOnly
(
RegHandle
hReg
);
REG_DLLPUBLIC
b
ool
REGISTRY_CALLTYPE
reg_isReadOnly
(
RegHandle
hReg
);
/** This function opens a registry with the specified name.
...
...
@@ -431,10 +427,6 @@ REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_destroyRegistry(RegHandle hRegistry
*/
REG_DLLPUBLIC
RegError
REGISTRY_CALLTYPE
reg_dumpRegistry
(
RegKeyHandle
hKey
);
#ifdef __cplusplus
}
#endif
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
registry/source/keyimpl.hxx
Dosyayı görüntüle @
cade2b8f
...
...
@@ -20,7 +20,7 @@
#ifndef INCLUDED_REGISTRY_SOURCE_KEYIMPL_HXX
#define INCLUDED_REGISTRY_SOURCE_KEYIMPL_HXX
#include <reg
istry.h
>
#include <reg
api.hxx
>
#include "regimpl.hxx"
#include <rtl/ustring.hxx>
...
...
registry/source/regimpl.hxx
Dosyayı görüntüle @
cade2b8f
...
...
@@ -23,7 +23,7 @@
#include <set>
#include <unordered_map>
#include <reg
istry.h
>
#include <reg
api.hxx
>
#include <rtl/ustring.hxx>
#include <osl/mutex.hxx>
#include <store/store.hxx>
...
...
registry/source/registry.cxx
Dosyayı görüntüle @
cade2b8f
...
...
@@ -18,7 +18,7 @@
*/
#include <reg
istry.h
>
#include <reg
api.hxx
>
#include <registry/registry.hxx>
#include <osl/process.h>
...
...
@@ -485,8 +485,8 @@ RegError REGISTRY_CALLTYPE reg_saveKey(RegKeyHandle hKey,
RegError
REGISTRY_CALLTYPE
reg_mergeKey
(
RegKeyHandle
hKey
,
rtl_uString
*
keyName
,
rtl_uString
*
regFileName
,
sal_B
ool
bWarnings
,
sal_B
ool
bReport
)
b
ool
bWarnings
,
b
ool
bReport
)
{
ORegKey
*
pKey
;
...
...
@@ -541,7 +541,7 @@ RegError REGISTRY_CALLTYPE reg_getName(RegHandle hRegistry, rtl_uString** pName)
// reg_isReadOnly
sal_B
ool
REGISTRY_CALLTYPE
reg_isReadOnly
(
RegHandle
hRegistry
)
b
ool
REGISTRY_CALLTYPE
reg_isReadOnly
(
RegHandle
hRegistry
)
{
return
isReadOnly
(
hRegistry
);
}
...
...
registry/source/regkey.cxx
Dosyayı görüntüle @
cade2b8f
...
...
@@ -907,7 +907,7 @@ RegError REGISTRY_CALLTYPE reg_freeValueList(RegValueType valueType,
RegError
REGISTRY_CALLTYPE
reg_getResolvedKeyName
(
RegKeyHandle
hKey
,
rtl_uString
*
keyName
,
sal_B
ool
firstLinkOnly
,
b
ool
firstLinkOnly
,
rtl_uString
**
pResolvedName
)
{
if
(
!
hKey
)
...
...
registry/tools/regview.cxx
Dosyayı görüntüle @
cade2b8f
...
...
@@ -18,7 +18,7 @@
*/
#include "reg
istry.h
"
#include "reg
api.hxx
"
#include "fileurl.hxx"
#include "rtl/ustring.hxx"
...
...
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