Skip to content

Commit e8cced8

Browse files
committed
build:
0 parents  commit e8cced8

File tree

21 files changed

+2188
-0
lines changed

21 files changed

+2188
-0
lines changed

cppbuild/windows-x86_64/include/sense4.h

Lines changed: 831 additions & 0 deletions
Large diffs are not rendered by default.
151 KB
Binary file not shown.

platform/pom.xml

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<parent>
7+
<groupId>org.bytedeco</groupId>
8+
<artifactId>javacpp-presets</artifactId>
9+
<version>1.5.2-SNAPSHOT</version>
10+
</parent>
11+
12+
<groupId>org.bytedeco</groupId>
13+
<artifactId>jpphelloworld-platform</artifactId>
14+
<version>${revision}</version>
15+
<name>JavaCPP Presets Platform for helloworld</name>
16+
17+
<properties>
18+
<javacpp.moduleId>jpphelloworld</javacpp.moduleId>
19+
<revision>2.0-${project.parent.version}</revision>
20+
</properties>
21+
22+
<dependencies>
23+
<dependency>
24+
<groupId>${project.groupId}</groupId>
25+
<artifactId>${javacpp.moduleId}</artifactId>
26+
<version>${project.version}</version>
27+
</dependency>
28+
<dependency>
29+
<groupId>${project.groupId}</groupId>
30+
<artifactId>${javacpp.moduleId}</artifactId>
31+
<version>${project.version}</version>
32+
<classifier>${javacpp.platform.linux-x86}</classifier>
33+
</dependency>
34+
<dependency>
35+
<groupId>${project.groupId}</groupId>
36+
<artifactId>${javacpp.moduleId}</artifactId>
37+
<version>${project.version}</version>
38+
<classifier>${javacpp.platform.linux-x86_64}</classifier>
39+
</dependency>
40+
<dependency>
41+
<groupId>${project.groupId}</groupId>
42+
<artifactId>${javacpp.moduleId}</artifactId>
43+
<version>${project.version}</version>
44+
<classifier>${javacpp.platform.macosx-x86_64}</classifier>
45+
</dependency>
46+
<dependency>
47+
<groupId>${project.groupId}</groupId>
48+
<artifactId>${javacpp.moduleId}</artifactId>
49+
<version>${project.version}</version>
50+
<classifier>${javacpp.platform.windows-x86}</classifier>
51+
</dependency>
52+
<dependency>
53+
<groupId>${project.groupId}</groupId>
54+
<artifactId>${javacpp.moduleId}</artifactId>
55+
<version>${project.version}</version>
56+
<classifier>${javacpp.platform.windows-x86_64}</classifier>
57+
</dependency>
58+
</dependencies>
59+
60+
<build>
61+
<plugins>
62+
<plugin>
63+
<artifactId>maven-jar-plugin</artifactId>
64+
<executions>
65+
<execution>
66+
<id>default-jar</id>
67+
<configuration>
68+
<archive>
69+
<manifestEntries>
70+
<Class-Path>${javacpp.moduleId}.jar ${javacpp.moduleId}-linux-x86.jar ${javacpp.moduleId}-linux-x86_64.jar ${javacpp.moduleId}-macosx-x86_64.jar ${javacpp.moduleId}-windows-x86.jar ${javacpp.moduleId}-windows-x86_64.jar</Class-Path>
71+
</manifestEntries>
72+
</archive>
73+
</configuration>
74+
</execution>
75+
<execution>
76+
<id>empty-javadoc-jar</id>
77+
<goals>
78+
<goal>jar</goal>
79+
</goals>
80+
<configuration>
81+
<classifier>javadoc</classifier>
82+
</configuration>
83+
</execution>
84+
<execution>
85+
<id>empty-sources-jar</id>
86+
<goals>
87+
<goal>jar</goal>
88+
</goals>
89+
<configuration>
90+
<classifier>sources</classifier>
91+
</configuration>
92+
</execution>
93+
</executions>
94+
</plugin>
95+
<plugin>
96+
<groupId>org.moditect</groupId>
97+
<artifactId>moditect-maven-plugin</artifactId>
98+
<executions>
99+
<execution>
100+
<id>add-module-infos</id>
101+
<phase>none</phase>
102+
</execution>
103+
<execution>
104+
<id>add-platform-module-info</id>
105+
<phase>package</phase>
106+
<goals>
107+
<goal>add-module-info</goal>
108+
</goals>
109+
<configuration>
110+
<modules>
111+
<module>
112+
<file>${project.build.directory}/${project.artifactId}.jar</file>
113+
<moduleInfoSource>
114+
module org.bytedeco.${javacpp.moduleId}.platform {
115+
requires org.bytedeco.${javacpp.moduleId}.linux.x86;
116+
requires org.bytedeco.${javacpp.moduleId}.linux.x86_64;
117+
requires org.bytedeco.${javacpp.moduleId}.macosx.x86_64;
118+
requires org.bytedeco.${javacpp.moduleId}.windows.x86;
119+
requires org.bytedeco.${javacpp.moduleId}.windows.x86_64;
120+
}
121+
</moduleInfoSource>
122+
</module>
123+
</modules>
124+
</configuration>
125+
</execution>
126+
</executions>
127+
</plugin>
128+
</plugins>
129+
</build>
130+
131+
</project>

pom.xml

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>org.bytedeco</groupId>
8+
<artifactId>jsense4</artifactId>
9+
<version>2.0-${project.parent.version}</version>
10+
<properties>
11+
<revision>2.0-${project.parent.version}</revision>
12+
<javacpp.cppbuild.skip>true</javacpp.cppbuild.skip>
13+
</properties>
14+
15+
<parent>
16+
<groupId>org.bytedeco</groupId>
17+
<artifactId>javacpp-presets</artifactId>
18+
<version>1.5.2-SNAPSHOT</version>
19+
</parent>
20+
<dependencies>
21+
<dependency>
22+
<groupId>org.bytedeco</groupId>
23+
<artifactId>javacpp</artifactId>
24+
</dependency>
25+
<dependency>
26+
<groupId>org.bytedeco</groupId>
27+
<artifactId>systems-platform</artifactId>
28+
<version>1.5.5</version>
29+
</dependency>
30+
</dependencies>
31+
32+
<build>
33+
<plugins>
34+
<plugin>
35+
<artifactId>maven-resources-plugin</artifactId>
36+
</plugin>
37+
38+
<!-- <plugin>-->
39+
<!-- <artifactId>maven-jlink-plugin</artifactId>-->
40+
<!-- <version>3.1.0</version>-->
41+
<!-- <extensions>true</extensions>-->
42+
43+
<!-- <configuration>-->
44+
45+
<!-- <launcher> data-ma=jpphelloworld/org.bytedeco.jsense4.presets.HelloWorldTest</launcher>-->
46+
<!-- &lt;!&ndash; configuration elements goes here &ndash;&gt;-->
47+
<!-- </configuration>-->
48+
<!-- </plugin>-->
49+
50+
<plugin>
51+
<groupId>org.bytedeco</groupId>
52+
<artifactId>javacpp</artifactId>
53+
<configuration>
54+
<deleteJniFiles>false</deleteJniFiles>
55+
</configuration>
56+
</plugin>
57+
<plugin>
58+
<artifactId>maven-jar-plugin</artifactId>
59+
</plugin>
60+
<plugin>
61+
<groupId>org.moditect</groupId>
62+
<artifactId>moditect-maven-plugin</artifactId>
63+
</plugin>
64+
<plugin>
65+
<artifactId>maven-dependency-plugin</artifactId>
66+
</plugin>
67+
<plugin>
68+
<artifactId>maven-source-plugin</artifactId>
69+
</plugin>
70+
<plugin>
71+
<artifactId>maven-javadoc-plugin</artifactId>
72+
</plugin>
73+
<plugin>
74+
<groupId>org.apache.maven.plugins</groupId>
75+
<artifactId>maven-compiler-plugin</artifactId>
76+
<configuration>
77+
<source>9</source>
78+
<target>9</target>
79+
</configuration>
80+
</plugin>
81+
</plugins>
82+
</build>
83+
84+
<profiles>
85+
<profile>
86+
<id>mingw</id>
87+
<activation>
88+
<os>
89+
<family>windows</family>
90+
</os>
91+
</activation>
92+
<build>
93+
<plugins>
94+
<plugin>
95+
<groupId>org.bytedeco</groupId>
96+
<artifactId>javacpp</artifactId>
97+
<configuration>
98+
<properties>${javacpp.platform}-mingw</properties>
99+
<compilerOptions>
100+
<compilerOption>-static-libgcc</compilerOption>
101+
<compilerOption>-static-libstdc++</compilerOption>
102+
<compilerOption>-Wl,-Bstatic</compilerOption>
103+
<compilerOption>-lstdc++</compilerOption>
104+
<compilerOption>-lgcc</compilerOption>
105+
<compilerOption>-lgcc_eh</compilerOption>
106+
<compilerOption>-lpthread</compilerOption>
107+
<compilerOption>-Wl,-Bdynamic</compilerOption>
108+
</compilerOptions>
109+
</configuration>
110+
</plugin>
111+
</plugins>
112+
</build>
113+
</profile>
114+
</profiles>
115+
</project>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// Targeted by JavaCPP version 1.5.2-SNAPSHOT: DO NOT EDIT THIS FILE
2+
3+
package org.bytedeco.jsense4;
4+
5+
import org.bytedeco.javacpp.*;
6+
import org.bytedeco.javacpp.annotation.*;
7+
import org.bytedeco.jsense4.presets.JSense4;
8+
/** RSA key prime length,in bytes*/
9+
10+
//@{
11+
/**
12+
structure definition
13+
*/
14+
15+
/* file information definition*/
16+
@Properties(inherit = JSense4.class)
17+
public class EFINFO extends Pointer {
18+
static { Loader.load(); }
19+
/** Default native constructor. */
20+
public EFINFO() { super((Pointer)null); allocate(); }
21+
/** Native array allocator. Access with {@link Pointer#position(long)}. */
22+
public EFINFO(long size) { super((Pointer)null); allocateArray(size); }
23+
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
24+
public EFINFO(Pointer p) { super(p); }
25+
private native void allocate();
26+
private native void allocateArray(long size);
27+
@Override public EFINFO position(long position) {
28+
return (EFINFO)super.position(position);
29+
}
30+
31+
public native @Cast("WORD") short EfID(); public native EFINFO EfID(short setter); /* file ID*/
32+
public native @Cast("BYTE") byte EfType(); public native EFINFO EfType(byte setter); /* file type*/
33+
public native @Cast("WORD") short EfSize(); public native EFINFO EfSize(short setter); /* file size*/
34+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// Targeted by JavaCPP version 1.5.2-SNAPSHOT: DO NOT EDIT THIS FILE
2+
3+
package org.bytedeco.jsense4;
4+
5+
import org.bytedeco.javacpp.*;
6+
import org.bytedeco.javacpp.annotation.*;
7+
import org.bytedeco.jsense4.presets.JSense4;
8+
9+
10+
/** S4CREATEDIRINFO structure definition*/
11+
@Properties(inherit = JSense4.class)
12+
public class S4CREATEDIRINFO extends Pointer {
13+
static { Loader.load(); }
14+
/** Default native constructor. */
15+
public S4CREATEDIRINFO() { super((Pointer)null); allocate(); }
16+
/** Native array allocator. Access with {@link Pointer#position(long)}. */
17+
public S4CREATEDIRINFO(long size) { super((Pointer)null); allocateArray(size); }
18+
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
19+
public S4CREATEDIRINFO(Pointer p) { super(p); }
20+
private native void allocate();
21+
private native void allocateArray(long size);
22+
@Override public S4CREATEDIRINFO position(long position) {
23+
return (S4CREATEDIRINFO)super.position(position);
24+
}
25+
26+
public native @Cast("DWORD") long dwS4CreateDirInfoSize(); public native S4CREATEDIRINFO dwS4CreateDirInfoSize(long setter); /* size of the structure*/
27+
public native @Cast("BYTE") byte szAtr(int i); public native S4CREATEDIRINFO szAtr(int i, byte setter);
28+
@MemberGetter public native @Cast("BYTE*") BytePointer szAtr(); /* ATR information */
29+
public native @ByRef S4NETCONFIG NetConfig(); public native S4CREATEDIRINFO NetConfig(S4NETCONFIG setter); /* netlock config infomation */
30+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Targeted by JavaCPP version 1.5.2-SNAPSHOT: DO NOT EDIT THIS FILE
2+
3+
package org.bytedeco.jsense4;
4+
5+
import org.bytedeco.javacpp.*;
6+
import org.bytedeco.javacpp.annotation.*;
7+
import org.bytedeco.jsense4.presets.JSense4;
8+
9+
//LiLiang
10+
//#elif defined _EIV_MAC_
11+
//typedef io_connect_t S4HANDLE;
12+
//End
13+
// #else
14+
@Namespace @Name("void") @Opaque @Properties(inherit = JSense4.class)
15+
public class S4HANDLE extends Pointer {
16+
/** Empty constructor. Calls {@code super((Pointer)null)}. */
17+
public S4HANDLE() { super((Pointer)null); }
18+
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
19+
public S4HANDLE(Pointer p) { super(p); }
20+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// Targeted by JavaCPP version 1.5.2-SNAPSHOT: DO NOT EDIT THIS FILE
2+
3+
package org.bytedeco.jsense4;
4+
5+
import org.bytedeco.javacpp.*;
6+
import org.bytedeco.javacpp.annotation.*;
7+
import org.bytedeco.jsense4.presets.JSense4;
8+
9+
10+
/** Netlock Module infomation definition*/
11+
@Properties(inherit = JSense4.class)
12+
public class S4MODULEINFO extends Pointer {
13+
static { Loader.load(); }
14+
/** Default native constructor. */
15+
public S4MODULEINFO() { super((Pointer)null); allocate(); }
16+
/** Native array allocator. Access with {@link Pointer#position(long)}. */
17+
public S4MODULEINFO(long size) { super((Pointer)null); allocateArray(size); }
18+
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
19+
public S4MODULEINFO(Pointer p) { super(p); }
20+
private native void allocate();
21+
private native void allocateArray(long size);
22+
@Override public S4MODULEINFO position(long position) {
23+
return (S4MODULEINFO)super.position(position);
24+
}
25+
26+
public native @Cast("WORD") short wModuleID(); public native S4MODULEINFO wModuleID(short setter); /* Module ID*/
27+
public native @Cast("WORD") short wLicenseCount(); public native S4MODULEINFO wLicenseCount(short setter); /* License Count */
28+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Targeted by JavaCPP version 1.5.2-SNAPSHOT: DO NOT EDIT THIS FILE
2+
3+
package org.bytedeco.jsense4;
4+
5+
import org.bytedeco.javacpp.*;
6+
import org.bytedeco.javacpp.annotation.*;
7+
import org.bytedeco.jsense4.presets.JSense4;
8+
9+
10+
@Properties(inherit = JSense4.class)
11+
public class S4NETCONFIG extends Pointer {
12+
static { Loader.load(); }
13+
/** Default native constructor. */
14+
public S4NETCONFIG() { super((Pointer)null); allocate(); }
15+
/** Native array allocator. Access with {@link Pointer#position(long)}. */
16+
public S4NETCONFIG(long size) { super((Pointer)null); allocateArray(size); }
17+
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
18+
public S4NETCONFIG(Pointer p) { super(p); }
19+
private native void allocate();
20+
private native void allocateArray(long size);
21+
@Override public S4NETCONFIG position(long position) {
22+
return (S4NETCONFIG)super.position(position);
23+
}
24+
25+
public native @Cast("unsigned int") int dwLicenseMode(); public native S4NETCONFIG dwLicenseMode(int setter); /* License Mode */
26+
public native @Cast("unsigned int") int dwModuleCount(); public native S4NETCONFIG dwModuleCount(int setter); /* Module Count */
27+
public native @ByRef S4MODULEINFO ModuleInfo(int i); public native S4NETCONFIG ModuleInfo(int i, S4MODULEINFO setter);
28+
@MemberGetter public native S4MODULEINFO ModuleInfo(); /* Module detail infomation */
29+
}

0 commit comments

Comments
 (0)