com.jme3.system.jopenvr.VR_IVRNotifications_FnTable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jme3-vr Show documentation
Show all versions of jme3-vr Show documentation
jMonkeyEngine is a 3-D game engine for adventurous Java developers
package com.jme3.system.jopenvr;
import com.sun.jna.Callback;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import com.sun.jna.ptr.IntByReference;
import java.util.Arrays;
import java.util.List;
/**
* native declaration : headers\openvr_capi.h:2257
* 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 VR_IVRNotifications_FnTable extends Structure {
/** C type : CreateNotification_callback* */
public VR_IVRNotifications_FnTable.CreateNotification_callback CreateNotification;
/** C type : RemoveNotification_callback* */
public VR_IVRNotifications_FnTable.RemoveNotification_callback RemoveNotification;
/** native declaration : headers\openvr_capi.h:2255 */
public interface CreateNotification_callback extends Callback {
int apply(long ulOverlayHandle, long ulUserValue, int type, Pointer pchText, int style, NotificationBitmap_t pImage, IntByReference pNotificationId);
};
/** native declaration : headers\openvr_capi.h:2256 */
public interface RemoveNotification_callback extends Callback {
int apply(int notificationId);
};
public VR_IVRNotifications_FnTable() {
super();
}
@Override
protected List getFieldOrder() {
return Arrays.asList("CreateNotification", "RemoveNotification");
}
/**
* @param CreateNotification C type : CreateNotification_callback*
* @param RemoveNotification C type : RemoveNotification_callback*
*/
public VR_IVRNotifications_FnTable(VR_IVRNotifications_FnTable.CreateNotification_callback CreateNotification, VR_IVRNotifications_FnTable.RemoveNotification_callback RemoveNotification) {
super();
this.CreateNotification = CreateNotification;
this.RemoveNotification = RemoveNotification;
}
public VR_IVRNotifications_FnTable(Pointer peer) {
super(peer);
}
public static class ByReference extends VR_IVRNotifications_FnTable implements Structure.ByReference {
};
public static class ByValue extends VR_IVRNotifications_FnTable implements Structure.ByValue {
};
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy