diff options
author | Kai Sommerfeld <kso@openoffice.org> | 2002-09-24 13:15:50 +0000 |
---|---|---|
committer | Kai Sommerfeld <kso@openoffice.org> | 2002-09-24 13:15:50 +0000 |
commit | 24f19e7ec5acf277cd1db2ee82799a0fcb1b819a (patch) | |
tree | 21c183fb01afcf8c55ab7714ba2d6f663b89dfab /ucb/source/ucp/webdav/ContentProperties.hxx | |
parent | 9d99bc95c446232234c6156dc056656bc1891096 (diff) |
#102945# - Added support for new property "BaseURI".
Diffstat (limited to 'ucb/source/ucp/webdav/ContentProperties.hxx')
-rw-r--r-- | ucb/source/ucp/webdav/ContentProperties.hxx | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/ucb/source/ucp/webdav/ContentProperties.hxx b/ucb/source/ucp/webdav/ContentProperties.hxx index 61a6d13b73d1..828ec8ed0a3b 100644 --- a/ucb/source/ucp/webdav/ContentProperties.hxx +++ b/ucb/source/ucp/webdav/ContentProperties.hxx @@ -2,9 +2,9 @@ * * $RCSfile: ContentProperties.hxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: kso $ $Date: 2002-09-18 16:01:07 $ + * last change: $Author: kso $ $Date: 2002-09-24 14:15:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -173,20 +173,27 @@ public: // return true, if all properties contained in rProps are contained in // this ContentProperties instance. Otherwiese, false will be returned. // rNamesNotContained contain the missing names. - bool containsAllNames( const com::sun::star::uno::Sequence< - com::sun::star::beans::Property >& rProps, - std::vector< rtl::OUString > & rNamesNotContained ); + bool containsAllNames( + const com::sun::star::uno::Sequence< + com::sun::star::beans::Property >& rProps, + std::vector< rtl::OUString > & rNamesNotContained ) const; // adds all properties described by rProps that are actually contained in // rContentProps to this instance. In case of duplicates the value // already contained in this will left anchanged. - void add( const std::vector< rtl::OUString > & rProps, - const ContentProperties & rContentProps ); + void addProperties( const std::vector< rtl::OUString > & rProps, + const ContentProperties & rContentProps ); + + // overwrites probably existing entry. + void addProperty( const rtl::OUString & rName, + const com::sun::star::uno::Any & rValue ); bool isTrailingSlash() const { return m_bTrailingSlash; } const rtl::OUString & getEscapedTitle() const { return m_aEscapedTitle; } + // Not good to expose implementation details, but this is actually an + // internal class. const std::auto_ptr< PropertyValueMap > & getProperties() const { return m_xProps; } |