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

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

class CSSUnknownRuleJBridge : public DOM::CSSUnknownRule
{
public:
	CSSUnknownRuleJBridge() : DOM::CSSUnknownRule() {};
	CSSUnknownRuleJBridge(const DOM::CSSUnknownRule& arg1) : DOM::CSSUnknownRule(arg1) {};
	CSSUnknownRuleJBridge(const DOM::CSSRule& arg1) : DOM::CSSUnknownRule(arg1) {};
};

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_CSSUnknownRule_newCSSUnknownRule__Lorg_trinitydesktop_koala_CSSRule_2(JNIEnv* env, jobject obj, jobject other)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new CSSUnknownRuleJBridge((const DOM::CSSRule&)*(const DOM::CSSRule*) QtSupport::getQt(env, other)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_CSSUnknownRule_newCSSUnknownRule__Lorg_trinitydesktop_koala_CSSUnknownRule_2(JNIEnv* env, jobject obj, jobject other)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new CSSUnknownRuleJBridge((const DOM::CSSUnknownRule&)*(const DOM::CSSUnknownRule*) QtSupport::getQt(env, other)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

