summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-01-18 12:28:35 +0000
committerKurt Zenker <kz@openoffice.org>2005-01-18 12:28:35 +0000
commit9a3511104c8ea169cd6824b7c9c8a20dd9916efc (patch)
tree6eb42968e861b93b62bb6b214281003ac2e61f59 /configmgr
parentb568e05313768a9a831cae19ca4acb6e869d3c68 (diff)
INTEGRATION: CWS cfgsmartcache (1.2.132); FILE MERGED
2005/01/12 15:32:38 jb 1.2.132.1: #i29624# Multilocale support for the binary cache
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/backend/binarycache.hxx17
1 files changed, 13 insertions, 4 deletions
diff --git a/configmgr/source/backend/binarycache.hxx b/configmgr/source/backend/binarycache.hxx
index 4de329306bff..39995672cc66 100644
--- a/configmgr/source/backend/binarycache.hxx
+++ b/configmgr/source/backend/binarycache.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: binarycache.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: vg $ $Date: 2003-05-26 08:03:44 $
+ * last change: $Author: kz $ $Date: 2005-01-18 13:28:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -61,6 +61,10 @@
#ifndef CONFIGMGR_BINARYCACHE_HXX
#define CONFIGMGR_BINARYCACHE_HXX
+#ifndef CONFIGMGR_MATCHLOCALE_HXX
+#include "matchlocale.hxx"
+#endif
+
#include <rtl/ustring.hxx>
#ifndef _COM_SUN_STAR_UNO_XCOMPONENTCONTEXT_HPP_
@@ -106,7 +110,8 @@ namespace configmgr
MultiServiceFactory const & aFactory,
rtl::OUString const & aComponent,
rtl::OUString const & aEntity,
- rtl::OUString const & aLocale,
+ localehelper::Locale const & aRequestedLocale,
+ localehelper::LocaleSequence & outKnownLocales,
const uno::Reference<backenduno::XLayer> * pLayers,
sal_Int32 nNumLayers,
bool bIncludeTemplates = true);
@@ -115,7 +120,7 @@ namespace configmgr
MultiServiceFactory const & aFactory,
rtl::OUString const & aComponent,
rtl::OUString const & aEntity,
- rtl::OUString const & aLocale,
+ localehelper::LocaleSequence const & aKnownLocales,
const uno::Reference<backenduno::XLayer> * pLayers,
sal_Int32 nNumLayers);
private:
@@ -125,6 +130,10 @@ namespace configmgr
};
// -----------------------------------------------------------------------------------
+ // helper for cache reader implementations - see backendaccess.cxx for implementation
+ uno::Sequence< rtl::OUString >
+ getAvailableLocales(const uno::Reference<backenduno::XLayer> * pLayers, sal_Int32 nNumLayers);
+ // -----------------------------------------------------------------------------------
}
// -----------------------------------------------------------------------------------
}