diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2004-03-30 15:51:19 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2004-03-30 15:51:19 +0000 |
commit | 0b4053604003fe2aa84f900128fc4a4f49e8c775 (patch) | |
tree | e06c706b43f7d09cc50c73b4c738c7ee3de9ec0f /codemaker | |
parent | 150a94f9fc5042596d66ff64a68becf36ba88465 (diff) |
INTEGRATION: CWS sb14 (1.4.70); FILE MERGED
2004/03/12 14:17:15 sb 1.4.70.1: #i21150# Adapted to modified registry type reader.
Diffstat (limited to 'codemaker')
-rw-r--r-- | codemaker/inc/codemaker/typemanager.hxx | 34 |
1 files changed, 13 insertions, 21 deletions
diff --git a/codemaker/inc/codemaker/typemanager.hxx b/codemaker/inc/codemaker/typemanager.hxx index bd1c81615f56..30d74d38442d 100644 --- a/codemaker/inc/codemaker/typemanager.hxx +++ b/codemaker/inc/codemaker/typemanager.hxx @@ -2,9 +2,9 @@ * * $RCSfile: typemanager.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: dbo $ $Date: 2002-07-31 12:46:29 $ + * last change: $Author: rt $ $Date: 2004-03-30 16:51:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -59,17 +59,18 @@ * ************************************************************************/ -#include <hash_map> - #ifndef _CODEMAKER_TYPEMANAGER_HXX_ #define _CODEMAKER_TYPEMANAGER_HXX_ -#ifndef _CODEMAKER_REGISTRY_HXX_ -#include <codemaker/registry.hxx> -#endif +#include "codemaker/global.hxx" -RegistryTypeReaderLoader & getRegistryTypeReaderLoader(); +#include "registry/registry.hxx" +#include "registry/types.h" +#include <hash_map> +#include <list> + +namespace typereg { class Reader; } typedef ::std::list< Registry* > RegistryList; @@ -127,9 +128,8 @@ public: virtual RegistryKey getTypeKey( const ::rtl::OString& name, sal_Bool * pIsExtraType = 0 ) { return RegistryKey(); } - virtual TypeReader getTypeReader( - const ::rtl::OString& name, sal_Bool * pIsExtraType = 0 ) - { return TypeReader(); } + virtual typereg::Reader getTypeReader( + const ::rtl::OString& name, sal_Bool * pIsExtraType = 0 ) = 0; virtual RTTypeClass getTypeClass(const ::rtl::OString& name) { return RT_TYPE_INVALID; } @@ -171,15 +171,7 @@ public: { acquire(); } -/* - RegistryTypeManager& operator = ( const RegistryTypeManager& value ) - { - release(); - m_pImpl = value.m_pImpl; - acquire(); - return *this; - } -*/ + sal_Bool init(const StringVector& regFiles, const StringVector& extraFiles = StringVector() ); sal_Bool isValidType(const ::rtl::OString& name) @@ -187,7 +179,7 @@ public: RegistryKey getTypeKey( const ::rtl::OString& name, sal_Bool * pIsExtraType = 0 ) { return searchTypeKey(name, pIsExtraType); } - TypeReader getTypeReader( + typereg::Reader getTypeReader( const ::rtl::OString& name, sal_Bool * pIsExtraType = 0 ); RTTypeClass getTypeClass(const ::rtl::OString& name); |