All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.blackdread.camerabinding.jna.EdsTime Maven / Gradle / Ivy

/*
 * MIT License
 *
 * Copyright (c) 2018-2019 Yoann CAPLAIN
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
package org.blackdread.camerabinding.jna;

import com.sun.jna.NativeLong;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;

import java.util.Arrays;
import java.util.List;

/**
 * native declaration : sdk-header\EDSDKTypes.h
* 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 EdsTime extends Structure { /** C type : EdsUInt32 */ public NativeLong year; /** C type : EdsUInt32 */ public NativeLong month; /** C type : EdsUInt32 */ public NativeLong day; /** C type : EdsUInt32 */ public NativeLong hour; /** C type : EdsUInt32 */ public NativeLong minute; /** C type : EdsUInt32 */ public NativeLong second; /** C type : EdsUInt32 */ public NativeLong milliseconds; public EdsTime() { super(); } @Override protected List getFieldOrder() { return Arrays.asList("year", "month", "day", "hour", "minute", "second", "milliseconds"); } /** * @param year C type : EdsUInt32
* @param month C type : EdsUInt32
* @param day C type : EdsUInt32
* @param hour C type : EdsUInt32
* @param minute C type : EdsUInt32
* @param second C type : EdsUInt32
* @param milliseconds C type : EdsUInt32 */ public EdsTime(NativeLong year, NativeLong month, NativeLong day, NativeLong hour, NativeLong minute, NativeLong second, NativeLong milliseconds) { super(); this.year = year; this.month = month; this.day = day; this.hour = hour; this.minute = minute; this.second = second; this.milliseconds = milliseconds; } public EdsTime(Pointer peer) { super(peer); } public static class ByReference extends EdsTime implements Structure.ByReference { } public static class ByValue extends EdsTime implements Structure.ByValue { } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy