Kaydet (Commit) 04a290b1 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

vendorplugin.h is jvmfwk-internal (and no need for extern "C")

Change-Id: I954f789d5850e8016f5900812f9aa99be2416ce4
üst 0ef36a8d
...@@ -19,6 +19,11 @@ $(eval $(call gb_Library_add_defs,jvmfwk,\ ...@@ -19,6 +19,11 @@ $(eval $(call gb_Library_add_defs,jvmfwk,\
)) ))
endif endif
$(eval $(call gb_Library_set_include,jvmfwk,\
-I$(SRCDIR)/jvmfwk/inc \
$$(INCLUDE) \
))
$(eval $(call gb_Library_use_api,jvmfwk,\ $(eval $(call gb_Library_use_api,jvmfwk,\
udkapi \ udkapi \
)) ))
......
...@@ -18,18 +18,13 @@ ...@@ -18,18 +18,13 @@
*/ */
/** @HTML */ /** @HTML */
#ifndef INCLUDED_JVMFWK_VENDORPLUGIN_H #ifndef INCLUDED_JVMFWK_INC_VENDORPLUGIN_HXX
#define INCLUDED_JVMFWK_VENDORPLUGIN_H #define INCLUDED_JVMFWK_INC_VENDORPLUGIN_HXX
#include <jvmfwk/framework.h> #include <jvmfwk/framework.h>
#include <rtl/ustring.h> #include <rtl/ustring.h>
#include "jni.h" #include "jni.h"
#ifdef __cplusplus
extern "C" {
#endif
/** /**
@file @file
<p> <p>
...@@ -247,11 +242,6 @@ javaPluginError jfw_plugin_startJavaVirtualMachine( ...@@ -247,11 +242,6 @@ javaPluginError jfw_plugin_startJavaVirtualMachine(
*/ */
javaPluginError jfw_plugin_existJRE(const JavaInfo *pInfo, sal_Bool *exist); javaPluginError jfw_plugin_existJRE(const JavaInfo *pInfo, sal_Bool *exist);
#ifdef __cplusplus
}
#endif
#endif #endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
#include "jni.h" #include "jni.h"
#include "rtl/byteseq.hxx" #include "rtl/byteseq.hxx"
#include "jvmfwk/vendorplugin.h" #include "vendorplugin.hxx"
#include "util.hxx" #include "util.hxx"
#include "sunversion.hxx" #include "sunversion.hxx"
#include "vendorlist.hxx" #include "vendorlist.hxx"
...@@ -200,7 +200,6 @@ extern "C" void JNICALL abort_handler() ...@@ -200,7 +200,6 @@ extern "C" void JNICALL abort_handler()
} }
extern "C"
javaPluginError jfw_plugin_getAllJavaInfos( javaPluginError jfw_plugin_getAllJavaInfos(
rtl_uString *sVendor, rtl_uString *sVendor,
rtl_uString *sMinVersion, rtl_uString *sMinVersion,
...@@ -330,7 +329,6 @@ javaPluginError jfw_plugin_getAllJavaInfos( ...@@ -330,7 +329,6 @@ javaPluginError jfw_plugin_getAllJavaInfos(
return JFW_PLUGIN_E_NONE; return JFW_PLUGIN_E_NONE;
} }
extern "C"
javaPluginError jfw_plugin_getJavaInfoByPath( javaPluginError jfw_plugin_getJavaInfoByPath(
rtl_uString *path, rtl_uString *path,
rtl_uString *sVendor, rtl_uString *sVendor,
...@@ -585,7 +583,6 @@ static void do_msvcr_magic(rtl_uString *jvm_dll) ...@@ -585,7 +583,6 @@ static void do_msvcr_magic(rtl_uString *jvm_dll)
during instantiation. during instantiation.
</p> </p>
*/ */
extern "C"
javaPluginError jfw_plugin_startJavaVirtualMachine( javaPluginError jfw_plugin_startJavaVirtualMachine(
const JavaInfo *pInfo, const JavaInfo *pInfo,
const JavaVMOption* arOptions, const JavaVMOption* arOptions,
...@@ -782,7 +779,6 @@ javaPluginError jfw_plugin_startJavaVirtualMachine( ...@@ -782,7 +779,6 @@ javaPluginError jfw_plugin_startJavaVirtualMachine(
return errorcode; return errorcode;
} }
extern "C"
javaPluginError jfw_plugin_existJRE(const JavaInfo *pInfo, sal_Bool *exist) javaPluginError jfw_plugin_existJRE(const JavaInfo *pInfo, sal_Bool *exist)
{ {
javaPluginError ret = JFW_PLUGIN_E_NONE; javaPluginError ret = JFW_PLUGIN_E_NONE;
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include "osl/thread.hxx" #include "osl/thread.hxx"
#include "osl/file.hxx" #include "osl/file.hxx"
#include "jvmfwk/framework.h" #include "jvmfwk/framework.h"
#include "jvmfwk/vendorplugin.h" #include "vendorplugin.hxx"
#include <cassert> #include <cassert>
#include <vector> #include <vector>
#include <functional> #include <functional>
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
#include "rtl/ustring.hxx" #include "rtl/ustring.hxx"
#include "rtl/byteseq.hxx" #include "rtl/byteseq.hxx"
#include "jvmfwk/framework.h" #include "jvmfwk/framework.h"
#include "jvmfwk/vendorplugin.h" #include "vendorplugin.hxx"
/** typedefs for functions from vendorplugin.h /** typedefs for functions from vendorplugin.hxx
*/ */
typedef javaPluginError (*jfw_plugin_getAllJavaInfos_ptr)( typedef javaPluginError (*jfw_plugin_getAllJavaInfos_ptr)(
rtl_uString * sVendor, rtl_uString * sVendor,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment