com.hcl.domino.jna.internal.structs.HtmlApi_UrlArgStruct Maven / Gradle / Ivy
The newest version!
/*
* ==========================================================================
* Copyright (C) 2019-2022 HCL America, Inc. ( http://www.hcl.com/ )
* All rights reserved.
* ==========================================================================
* Licensed under the Apache License, Version 2.0 (the "License"). You may
* not use this file except in compliance with the License. You may obtain a
* copy of the License at .
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
* ==========================================================================
*/
package com.hcl.domino.jna.internal.structs;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.Arrays;
import java.util.List;
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();
}
@Override
protected List getFieldOrder() {
return Arrays.asList("Id", "Type", "val"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
/**
* @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((PrivilegedAction) () -> new HtmlApi_UrlArgStruct(Id, Type, val));
}
public HtmlApi_UrlArgStruct(Pointer peer) {
super(peer);
}
public static HtmlApi_UrlArgStruct newInstance(final Pointer peer) {
return AccessController.doPrivileged((PrivilegedAction) () -> 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