diff options
author | Kurt Zenker <kz@openoffice.org> | 2006-10-04 15:53:59 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2006-10-04 15:53:59 +0000 |
commit | 0f8ed025d14a2bb493f31e46f3a8a9c9d8293b46 (patch) | |
tree | 71fd6118d70eb25c625fe9c73881ccad50fe2537 | |
parent | ca67dd25bfebcbbda18087bf6fcb9107435aaf07 (diff) |
INTEGRATION: CWS sb62 (1.1.2); FILE ADDED
2006/09/27 11:53:29 sb 1.1.2.1: #i69163# Added rudimentary extension version handling.
-rw-r--r-- | desktop/source/deployment/inc/dp_version.hxx | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/desktop/source/deployment/inc/dp_version.hxx b/desktop/source/deployment/inc/dp_version.hxx new file mode 100644 index 000000000000..72bc7b412faa --- /dev/null +++ b/desktop/source/deployment/inc/dp_version.hxx @@ -0,0 +1,63 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: dp_version.hxx,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: kz $ $Date: 2006-10-04 16:53:59 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2006 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + ************************************************************************/ + +#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_VERSION_HXX +#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_VERSION_HXX + +#ifndef _SAL_CONFIG_H_ +#include "sal/config.h" +#endif + +#ifndef _COM_SUN_STAR_UNO_REFERENCE_HXX_ +#include "com/sun/star/uno/Reference.hxx" +#endif + +namespace com { namespace sun { namespace star { namespace deployment { + class XPackage; +} } } } + +namespace dp_misc { + +enum Order { LESS, EQUAL, GREATER }; + +Order comparePackageVersions( + ::com::sun::star::uno::Reference< ::com::sun::star::deployment::XPackage > + const & package1, + ::com::sun::star::uno::Reference< ::com::sun::star::deployment::XPackage > + const & package2); + +} + +#endif |