//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.koala;

import org.trinitydesktop.qt.TQt;
import org.trinitydesktop.qt.QtSupport;

/**

 Static deleters are used to manage static resources. They can register
 themselves with TDEGlobal. TDEGlobal will call destructObject() when
 TDEGlobal.deleteStaticDeleters() is called or when it the process
 finishes.
		@short    Static deleters are used to manage static resources.
		@see KStaticDeleter
		@see TDEGlobal#registerStaticDeleter
		@see TDEGlobal#unregisterStaticDeleter
		@see TDEGlobal#deleteStaticDeleters

*/
public class KStaticDeleterBase implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected KStaticDeleterBase(Class dummy){}

	/**
		 Should destruct the resources managed by this KStaticDeleterBase.
		 Usually you also want to call it in your destructor.
				@short    Should destruct the resources managed by this KStaticDeleterBase.
		@see TDEGlobal#deleteStaticDeleters
	*/
	public native void destructObject();
	public KStaticDeleterBase() {
		newKStaticDeleterBase();
	}
	private native void newKStaticDeleterBase();
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}
