io.qt.core.QtMessageHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.core;
import io.qt.*;
/**
* Java wrapper for Qt callable QtMessageHandler
*/
@FunctionalInterface
public interface QtMessageHandler extends QtObjectInterface {
public void accept(io.qt.core.@NonNull QtMsgType arg__1, io.qt.core.@NonNull QMessageLogContext arg__2, java.lang.@NonNull String arg__3);
/**
* @hidden
* Implementor class for interface {@link QtMessageHandler}
*/
public static abstract class Impl extends QtObject implements QtMessageHandler{
static {
QtJambi_LibraryUtilities.initialize();
}
public Impl(){
super((QPrivateConstructor)null);
initialize_native(this);
}
protected Impl(QPrivateConstructor p){
super(p);
}
private static native void initialize_native(QtMessageHandler instance);
@NativeAccess
private final static class ConcreteWrapper extends Impl {
private ConcreteWrapper(QPrivateConstructor c){
super(c);
}
@Override
public void accept(io.qt.core.@NonNull QtMsgType arg__1, io.qt.core.@NonNull QMessageLogContext arg__2, java.lang.@NonNull String arg__3){
accept_native(arg__1.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__2), arg__3);
}
private native void accept_native(int arg__1, long arg__2, java.lang.String arg__3);
}
}
}