diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-19 15:48:41 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-19 15:48:41 +0000 |
commit | bb4d8ad6f8f00b675c6f28b5f54c96baa78f5279 (patch) | |
tree | 368f9971a466ffff94ef7a8ec9311a4cbd38d645 /extensions/source/update/check/updatecheckconfig.hxx | |
parent | 19aa5b87af7590c29ce1e706fd7c424c20b149a5 (diff) |
INTEGRATION: CWS updchk10 (1.5.2); FILE MERGED
2007/10/23 10:54:05 dv 1.5.2.1: #i82851# Support automatic checking for extension updates
Diffstat (limited to 'extensions/source/update/check/updatecheckconfig.hxx')
-rw-r--r-- | extensions/source/update/check/updatecheckconfig.hxx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/extensions/source/update/check/updatecheckconfig.hxx b/extensions/source/update/check/updatecheckconfig.hxx index 4fa96b37d865..8cd8b9c445e1 100644 --- a/extensions/source/update/check/updatecheckconfig.hxx +++ b/extensions/source/update/check/updatecheckconfig.hxx @@ -4,9 +4,9 @@ * * $RCSfile: updatecheckconfig.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: hr $ $Date: 2007-07-31 15:57:22 $ + * last change: $Author: ihi $ $Date: 2007-11-19 16:48:41 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -182,6 +182,12 @@ public: // Returns a directory accessible for all users static rtl::OUString getAllUsersDirectory(); + // store and retrieve information about extensions + void storeExtensionVersion( const rtl::OUString& rExtensionName, + const rtl::OUString& rVersion ); + bool checkExtensionVersion( const rtl::OUString& rExtensionName, + const rtl::OUString& rVersion ); + // XElementAccess virtual ::com::sun::star::uno::Type SAL_CALL getElementType( ) throw (::com::sun::star::uno::RuntimeException); @@ -224,6 +230,9 @@ public: private: + static rtl::OUString getSubVersion( const rtl::OUString& rVersion, sal_Int32 *nIndex ); + static bool isVersionGreater( const rtl::OUString& rVersion1, const rtl::OUString& rVersion2 ); + const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > m_xContainer; const ::rtl::Reference< UpdateCheckConfigListener > m_rListener; }; |