20#ifndef INCLUDED_JVMFWK_PLUGINS_SUNMAJOR_PLUGINLIB_VENDORBASE_HXX
21#define INCLUDED_JVMFWK_PLUGINS_SUNMAJOR_PLUGINLIB_VENDORBASE_HXX
23#include <rtl/ustring.hxx>
25#include <osl/endian.h>
33#define JFW_PLUGIN_ARCH JAVA_ARCH
35#define JFW_PLUGIN_ARCH "sparcv9"
37#define JFW_PLUGIN_ARCH "sparc"
39#define JFW_PLUGIN_ARCH "amd64"
41#define JFW_PLUGIN_ARCH "arm64"
43#define JFW_PLUGIN_ARCH "i386"
44#elif defined POWERPC64
45#define JFW_PLUGIN_ARCH "ppc64"
47#define JFW_PLUGIN_ARCH "ppc"
50#define JFW_PLUGIN_ARCH "mips"
54#define JFW_PLUGIN_ARCH "mipsel"
58#define JFW_PLUGIN_ARCH "mips64"
60#define JFW_PLUGIN_ARCH "mips64el"
63#define JFW_PLUGIN_ARCH "riscv64"
65#define JFW_PLUGIN_ARCH "s390x"
67#define JFW_PLUGIN_ARCH "arm"
69#define JFW_PLUGIN_ARCH "ia64"
71#define JFW_PLUGIN_ARCH "m68k"
73#define JFW_PLUGIN_ARCH "parisc"
75#define JFW_PLUGIN_ARCH "alpha"
77#define JFW_PLUGIN_ARCH "aarch64"
78#elif defined LOONGARCH64
79#define JFW_PLUGIN_ARCH "loongarch64"
81#error unknown platform
159 bool initialize(
const std::vector<std::pair<OUString, OUString>>& props);
171 const std::vector<std::pair<OUString, OUString>>&
properties);
friend rtl::Reference< VendorBase > createInstance(createInstance_func pFunc, const std::vector< std::pair< OUString, OUString > > &properties)
virtual char const *const * getLibraryPaths(int *size)=0
virtual int compareVersions(const OUString &sSecond) const =0
const OUString & getVersion() const
OUString m_sRuntimeLibrary
virtual char const *const * getRuntimePaths(int *size)=0
const OUString & getRuntimeLibrary() const
OUString m_sLD_LIBRARY_PATH
const OUString & getLibraryPath() const
bool initialize(const std::vector< std::pair< OUString, OUString > > &props)
const OUString & getHome() const
const OUString & getVendor() const
bool needsRestart() const
rtl::Reference< VendorBase >(* createInstance_func)()