/***************************************************************************
                            kde_KShared.cpp -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, 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 "kde_KShared.h"
}

#include <ksharedptr.h>

class KSharedBridge : public KShared
{
public:
	KSharedBridge() : KShared() {}
	KSharedBridge(const KShared& arg1) : KShared(arg1) {}
	~KSharedBridge() {}
};

kde_KShared * kde_new_KShared(){
	return (kde_KShared *) new KSharedBridge();
}
kde_KShared * kde_new_KShared1(kde_KShared* arg1){
	return (kde_KShared *) new KSharedBridge((KShared&)* (KShared*)arg1);
}
void kde_KShared__KShared_ref( kde_KShared* instPointer){
	((KSharedBridge*)instPointer)->_KShared_ref();
	return;
}
void kde_KShared__KShared_unref( kde_KShared* instPointer){
	((KSharedBridge*)instPointer)->_KShared_unref();
	return;
}
int kde_KShared__KShared_count( kde_KShared* instPointer){
	return (int) ((KSharedBridge*)instPointer)->_KShared_count();
}
void kde_del_KShared( kde_KShared* p ){
	delete (KSharedBridge*) p;
}
