/***************************************************************************
                            QLibrary.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.qt;

import java.util.*;
import java.lang.Error;

public class  QLibrary implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;

	protected QLibrary(Class dummy){}

	private native void newQLibrary( String filename);
	public QLibrary( String filename) {
		newQLibrary( filename);
	}
	protected native void finalize() throws InternalError;
	public native int resolve( String arg1);
	public native boolean load();
	public native boolean unload();
	public native boolean isLoaded();
	public native boolean autoUnload();
	public native void setAutoUnload( boolean enable);
	public native String library();
	public static native int resolve( String filename, String arg1);
}
