/***************************************************************************
                            qt_QUuid.cpp -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, using kalyptus 0.9.
 ***************************************************************************/

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

extern "C" {
#include "qt_QUuid.h"
}

#include <quuid.h>

class QUuidBridge : public QUuid
{
public:
	QUuidBridge() : QUuid() {}
	QUuidBridge(ulong l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8) : QUuid(l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) {}
	QUuidBridge(const QUuid& uuid) : QUuid(uuid) {}
	QUuidBridge(const QString& arg1) : QUuid(arg1) {}
//	QUuidBridge(const GUID& guid) : QUuid(guid) {}
};

qt_QUuid * qt_new_QUuid(){
	return (qt_QUuid *) new QUuidBridge();
}
qt_QUuid * qt_new_QUuid1(unsigned long l, unsigned short w1, unsigned short w2, unsigned char b1, unsigned char b2, unsigned char b3, unsigned char b4, unsigned char b5, unsigned char b6, unsigned char b7, unsigned char b8){
	return (qt_QUuid *) new QUuidBridge((ulong)l, (ushort)w1, (ushort)w2, (uchar)b1, (uchar)b2, (uchar)b3, (uchar)b4, (uchar)b5, (uchar)b6, (uchar)b7, (uchar)b8);
}
qt_QUuid * qt_new_QUuid2(qt_QUuid* uuid){
	return (qt_QUuid *) new QUuidBridge((QUuid&)* (QUuid*)uuid);
}
qt_QUuid * qt_new_QUuid3(qt_QString * arg1){
	return (qt_QUuid *) new QUuidBridge((QString&)* (QString*)arg1);
}
qt_QString * qt_QUuid_toString( qt_QUuid* instPointer){
	return (qt_QString *)new QString(((QUuidBridge*)instPointer)->toString());
}
int qt_QUuid_isNull( qt_QUuid* instPointer){
	return (int) ((QUuidBridge*)instPointer)->isNull();
}
//qt_QUuid * qt_new_QUuid4(GUID guid){
//	return (qt_QUuid *) new QUuidBridge((GUID&)guid);
//}
