diff options
author | Torbjörn Svensson | 2020-06-26 17:22:07 +0000 |
---|---|---|
committer | Torbjörn Svensson | 2020-07-18 06:36:44 +0000 |
commit | c58603dfbecb00d7636de51e19e9083c575694b0 (patch) | |
tree | d8f3dcb50d7c7354c962cbaca19d0ac9ae7de86a /core/org.eclipse.cdt.core.native/schema/WindowsRegistry.exsd | |
parent | d68e5d5988ae21fca138422ae1c45779de27d976 (diff) | |
download | org.eclipse.cdt-c58603dfbecb00d7636de51e19e9083c575694b0.tar.gz org.eclipse.cdt-c58603dfbecb00d7636de51e19e9083c575694b0.tar.xz org.eclipse.cdt-c58603dfbecb00d7636de51e19e9083c575694b0.zip |
Bug 521515 - Access Windows registry using JNA
There is no need to have custom JNI implementation any more in java to
be able to access native functions. JNA solves this just fine with the
benefit that the code is easier to debug and maintain.
Change-Id: Ia9d36981cb10fa7348bf0a5f0549b3e96bd4c982
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
Diffstat (limited to 'core/org.eclipse.cdt.core.native/schema/WindowsRegistry.exsd')
-rw-r--r-- | core/org.eclipse.cdt.core.native/schema/WindowsRegistry.exsd | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core.native/schema/WindowsRegistry.exsd b/core/org.eclipse.cdt.core.native/schema/WindowsRegistry.exsd new file mode 100644 index 00000000000..eabfd78bfe0 --- /dev/null +++ b/core/org.eclipse.cdt.core.native/schema/WindowsRegistry.exsd @@ -0,0 +1,66 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- Schema file written by PDE --> +<schema targetNamespace="org.eclipse.cdt.core" xmlns="http://www.w3.org/2001/XMLSchema"> +<annotation> + <appInfo> + <meta.schema plugin="org.eclipse.cdt.core.native" id="WindowsRegistry" name="Windows Registry Query Exentsion"/> + </appInfo> + <documentation> + + </documentation> + </annotation> + <element name="extension"> + <annotation> + <appInfo> + <meta.element /> + </appInfo> + </annotation> + <complexType> + <sequence> + <element ref="windowsRegistry"/> + </sequence> + <attribute name="point" type="string" use="required"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + <attribute name="id" type="string"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + <attribute name="name" type="string"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + </complexType> + </element> + <element name="windowsRegistry"> + <complexType> + <attribute name="class" type="string" use="required"> + <annotation> + <documentation> + + </documentation> + <appInfo> + <meta.attribute kind="java" basedOn="org.eclipse.cdt.utils.WindowsRegistry"/> + </appInfo> + </annotation> + </attribute> + <attribute name="platform" type="string" use="required"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + </complexType> + </element> +</schema> |