summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KStaticDeleterBase.java
blob: 161e44da4eff59b88ab20a880d140c85877de280 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.QtSupport;

/**

 Static deleters are used to manage static resources. They can register
 themselves with KGlobal. KGlobal will call destructObject() when
 KGlobal.deleteStaticDeleters() is called or when it the process
 finishes.
		@short    Static deleters are used to manage static resources.
		@see KStaticDeleter
		@see KGlobal#registerStaticDeleter
		@see KGlobal#unregisterStaticDeleter
		@see KGlobal#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 KGlobal#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();
}