summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/DOMException.cpp
blob: f0d7ea30e6ebf3f4c334de3e78432a237144994c (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
//Auto-generated by kalyptus. DO NOT EDIT.
#include <dom/dom_exception.h>

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/DOMException.h>

class DOMExceptionJBridge : public DOM::DOMException
{
public:
	DOMExceptionJBridge(unsigned short arg1) : DOM::DOMException(arg1) {};
	DOMExceptionJBridge(const DOM::DOMException& arg1) : DOM::DOMException(arg1) {};
};

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

JNIEXPORT void JNICALL
Java_org_kde_koala_DOMException_newDOMException__S(JNIEnv* env, jobject obj, jshort _code)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new DOMExceptionJBridge((unsigned short) _code));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}