summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extensions/source/update/check/updatecheckconfig.hxx13
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;
};