diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-11 21:52:36 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-12 09:36:20 +0200 |
commit | 61f43d0327c81bb2df88734c9572e489e4a9de31 (patch) | |
tree | e9deeaac41e1f8ef3d5af4a27a11ca6312ce0237 /jvmfwk/inc/vendorplugin.hxx | |
parent | 346b5cfd9078826f8705e226ad317b2e4c58162d (diff) |
Simplify jfw::VersionInfo
Change-Id: I2cc1071bbaf9c68fbd621d6c0c6953b7646b1a62
Diffstat (limited to 'jvmfwk/inc/vendorplugin.hxx')
-rw-r--r-- | jvmfwk/inc/vendorplugin.hxx | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/jvmfwk/inc/vendorplugin.hxx b/jvmfwk/inc/vendorplugin.hxx index d4febd726d18..d456fe74a59c 100644 --- a/jvmfwk/inc/vendorplugin.hxx +++ b/jvmfwk/inc/vendorplugin.hxx @@ -88,9 +88,7 @@ enum class javaPluginError [in] represents the maximum version of a JRE. The string can be empty. @param arExcludeList [in] contains a list of "bad" versions. JREs which have one of these - versions must not be returned by this function. It can be NULL. - @param nSizeExcludeList - [in] the number of version strings contained in <code>arExcludeList</code>. + versions must not be returned by this function. @param parJavaInfo [out] if the function runs successfully then <code>parJavaInfo</code> contains on return an array of pointers to <code>JavaInfo</code> objects. @@ -111,8 +109,7 @@ javaPluginError jfw_plugin_getAllJavaInfos( OUString const& sVendor, OUString const& sMinVersion, OUString const& sMaxVersion, - rtl_uString * * arExcludeList, - sal_Int32 nSizeExcludeList, + std::vector<OUString> const & arExcludeList, JavaInfo*** parJavaInfo, sal_Int32 *nSizeJavaInfo, std::vector<rtl::Reference<jfw_plugin::VendorBase>> & infos); @@ -136,9 +133,7 @@ javaPluginError jfw_plugin_getAllJavaInfos( [in] represents the maximum version of a JRE. @param arExcludeList [in] contains a list of "bad" versions. JREs which have one of these - versions must not be returned by this function. It can be NULL. - @param nSizeExcludeList - [in] the number of version strings contained in <code>arExcludeList</code>. + versions must not be returned by this function. @param ppInfo [out] if the function runs successfully then <code>ppInfo</code> contains on return a pointer to a <code>JavaInfo</code> object. @@ -162,8 +157,7 @@ javaPluginError jfw_plugin_getJavaInfoByPath( OUString const& sVendor, OUString const& sMinVersion, OUString const& sMaxVersion, - rtl_uString * *arExcludeList, - sal_Int32 nSizeExcludeList, + std::vector<OUString> const &arExcludeList, JavaInfo ** ppInfo); |