//Auto-generated by kalyptus. DO NOT EDIT.
#include <ksharedptr.h>

#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/TDEShared.h>

class TDESharedJBridge : public TDEShared
{
public:
	TDESharedJBridge() : TDEShared() {};
	TDESharedJBridge(const TDEShared& arg1) : TDEShared(arg1) {};
};

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEShared_newTDEShared__(JNIEnv* env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TDESharedJBridge());
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEShared_newTDEShared__Lorg_trinitydesktop_koala_TDEShared_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TDESharedJBridge((const TDEShared&)*(const TDEShared*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

