
com.mindoo.domino.jna.internal.structs.html.HtmlApi_UrlArgStruct Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of domino-jna Show documentation
Show all versions of domino-jna Show documentation
Java project to access the HCL Domino C API using Java Native Access (JNA)
package com.mindoo.domino.jna.internal.structs.html;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.Arrays;
import java.util.List;
import com.mindoo.domino.jna.internal.structs.BaseStructure;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
/**
* This file was autogenerated by JNAerator,
* a tool written by Olivier Chafik that uses a few opensource projects..
* For help, please visit NativeLibs4Java , Rococoa, or JNA.
*/
public class HtmlApi_UrlArgStruct extends BaseStructure {
/**
* CmdArgID identifier
* C type : CmdArgID
*/
public int Id;
/**
* type of target or arg value (e.g., CAVT_String, CAVT_Int, etc.)
* C type : CmdArgValueType
*/
public int Type;
/** C type : Value */
public ValueUnion val;
public HtmlApi_UrlArgStruct() {
super();
}
protected List getFieldOrder() {
return Arrays.asList("Id", "Type", "val");
}
/**
* @param Id CmdArgID identifier, C type : CmdArgID
* @param Type type of target or arg value (e.g., CAVT_String, CAVT_Int, etc.), C type : CmdArgValueType
* @param val C type : Value
*/
public HtmlApi_UrlArgStruct(int Id, int Type, ValueUnion val) {
super();
this.Id = Id;
this.Type = Type;
this.val = val;
}
public static HtmlApi_UrlArgStruct newInstance(final int Id, final int Type, final ValueUnion val) {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public HtmlApi_UrlArgStruct run() {
return new HtmlApi_UrlArgStruct(Id, Type, val);
}
});
}
public HtmlApi_UrlArgStruct(Pointer peer) {
super(peer);
}
public static HtmlApi_UrlArgStruct newInstance(final Pointer peer) {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public HtmlApi_UrlArgStruct run() {
return new HtmlApi_UrlArgStruct(peer);
}
});
}
public static class ByReference extends HtmlApi_UrlArgStruct implements Structure.ByReference {
};
public static class ByValue extends HtmlApi_UrlArgStruct implements Structure.ByValue {
};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy