/***************************************************************************
                            qt_QShared.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_QShared.h"
}

#include <qshared.h>

class QSharedBridge : public QShared
{
public:
	QSharedBridge() : QShared() {}
};

qt_QShared * qt_new_QShared(){
	return (qt_QShared *) new QSharedBridge();
}
void qt_QShared_ref( qt_QShared* instPointer){
	((QSharedBridge*)instPointer)->ref();
	return;
}
int qt_QShared_deref( qt_QShared* instPointer){
	return (int) ((QSharedBridge*)instPointer)->deref();
}
