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
6292bba6
Kaydet (Commit)
6292bba6
authored
Eyl 16, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Rename SourceProvider -> SourceTreeProvider
Change-Id: Ic864f9c6f3dbbe9f75bdae76818c00f62825182d
üst
d11592ad
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
13 deletions
+15
-13
Library_unoidl.mk
unoidl/Library_unoidl.mk
+1
-1
sourcetreeprovider.cxx
unoidl/source/sourcetreeprovider.cxx
+7
-5
sourcetreeprovider.hxx
unoidl/source/sourcetreeprovider.hxx
+5
-5
unoidl.cxx
unoidl/source/unoidl.cxx
+2
-2
No files found.
unoidl/Library_unoidl.mk
Dosyayı görüntüle @
6292bba6
...
...
@@ -13,7 +13,7 @@ $(eval $(call gb_Library_add_defs,unoidl,-DLO_DLLIMPLEMENTATION_UNOIDL))
$(eval $(call gb_Library_add_exception_objects,unoidl, \
unoidl/source/legacyprovider \
unoidl/source/sourceprovider \
unoidl/source/source
tree
provider \
unoidl/source/unoidl \
unoidl/source/unoidlprovider \
))
...
...
unoidl/source/sourceprovider.cxx
→
unoidl/source/source
tree
provider.cxx
Dosyayı görüntüle @
6292bba6
...
...
@@ -23,7 +23,7 @@
#include "sourceprovider-parser-requires.hxx"
#include "sourceprovider-parser.hxx"
#include "sourceprovider-scanner.hxx"
#include "sourceprovider.hxx"
#include "source
tree
provider.hxx"
namespace
unoidl
{
namespace
detail
{
...
...
@@ -56,16 +56,18 @@ private:
}
Source
Provider
::
Sourc
eProvider
(
Source
TreeProvider
::
SourceTre
eProvider
(
rtl
::
Reference
<
Manager
>
const
&
manager
,
OUString
const
&
uri
)
:
manager_
(
manager
),
uri_
(
uri
.
endsWith
(
"/"
)
?
uri
:
uri
+
"/"
)
{}
rtl
::
Reference
<
MapCursor
>
SourceProvider
::
createRootCursor
()
const
{
rtl
::
Reference
<
MapCursor
>
Source
Tree
Provider
::
createRootCursor
()
const
{
return
new
Cursor
;
}
rtl
::
Reference
<
Entity
>
SourceProvider
::
findEntity
(
OUString
const
&
name
)
const
{
rtl
::
Reference
<
Entity
>
SourceTreeProvider
::
findEntity
(
OUString
const
&
name
)
const
{
std
::
map
<
OUString
,
rtl
::
Reference
<
Entity
>
>::
iterator
ci
(
cache_
.
find
(
name
));
if
(
ci
!=
cache_
.
end
())
{
...
...
@@ -143,7 +145,7 @@ rtl::Reference<Entity> SourceProvider::findEntity(OUString const & name) const {
return
ent
;
}
Source
Provider
::~
Sourc
eProvider
()
throw
()
{}
Source
TreeProvider
::~
SourceTre
eProvider
()
throw
()
{}
}
}
...
...
unoidl/source/sourceprovider.hxx
→
unoidl/source/source
tree
provider.hxx
Dosyayı görüntüle @
6292bba6
...
...
@@ -7,8 +7,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_UNOIDL_SOURCEPROVIDER_HXX
#define INCLUDED_UNOIDL_SOURCEPROVIDER_HXX
#ifndef INCLUDED_UNOIDL_SOURCE
TREE
PROVIDER_HXX
#define INCLUDED_UNOIDL_SOURCE
TREE
PROVIDER_HXX
#include "sal/config.h"
...
...
@@ -19,10 +19,10 @@
namespace
unoidl
{
namespace
detail
{
class
SourceProvider
:
public
Provider
{
class
Source
Tree
Provider
:
public
Provider
{
public
:
// throws FileFormatException, NoSuchFileException:
SourceProvider
(
Source
Tree
Provider
(
rtl
::
Reference
<
Manager
>
const
&
manager
,
OUString
const
&
uri
);
// throws FileFormatException:
...
...
@@ -32,7 +32,7 @@ public:
virtual
rtl
::
Reference
<
Entity
>
findEntity
(
OUString
const
&
name
)
const
;
private
:
virtual
~
SourceProvider
()
throw
();
virtual
~
Source
Tree
Provider
()
throw
();
rtl
::
Reference
<
Manager
>
manager_
;
OUString
uri_
;
...
...
unoidl/source/unoidl.cxx
Dosyayı görüntüle @
6292bba6
...
...
@@ -20,7 +20,7 @@
#include "unoidl/unoidl.hxx"
#include "legacyprovider.hxx"
#include "sourceprovider.hxx"
#include "source
tree
provider.hxx"
#include "unoidlprovider.hxx"
namespace
unoidl
{
...
...
@@ -114,7 +114,7 @@ rtl::Reference< Provider > loadProvider(
if
(
item
.
getFileStatus
(
status
)
==
osl
::
FileBase
::
E_None
&&
status
.
getFileType
()
==
osl
::
FileStatus
::
Directory
)
{
return
new
detail
::
SourceProvider
(
manager
,
uri
);
return
new
detail
::
Source
Tree
Provider
(
manager
,
uri
);
}
}
try
{
...
...
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