/***************************************************************************
                            kde_Counter.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_Counter.h"
}

#include <dom/css_value.h>

class CounterBridge : public DOM::Counter
{
public:
	CounterBridge() : Counter() {}
	CounterBridge(const Counter& other) : Counter(other) {}
	~CounterBridge() {}
};

kde_Counter * kde_new_Counter(){
	return (kde_Counter *) new CounterBridge();
}
kde_Counter * kde_new_Counter1(kde_Counter* other){
	return (kde_Counter *) new CounterBridge((DOM::Counter&)* (DOM::Counter*)other);
}
void kde_del_Counter( kde_Counter* p ){
	delete (CounterBridge*) p;
}
//kde_DOMString* kde_Counter_identifier( kde_Counter* instPointer){
//	return (kde_DOMString*) ((CounterBridge*)instPointer)->identifier();
//}
//kde_DOMString* kde_Counter_listStyle( kde_Counter* instPointer){
//	return (kde_DOMString*) ((CounterBridge*)instPointer)->listStyle();
//}
//kde_DOMString* kde_Counter_separator( kde_Counter* instPointer){
//	return (kde_DOMString*) ((CounterBridge*)instPointer)->separator();
//}
//CounterImpl* kde_Counter_handle( kde_Counter* instPointer){
//	return (CounterImpl*) ((CounterBridge*)instPointer)->handle();
//}
int kde_Counter_isNull( kde_Counter* instPointer){
	return (int) ((CounterBridge*)instPointer)->isNull();
}
