/***************************************************************************
                            kde_CSSValue.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_CSSValue.h"
}

#include <dom/css_value.h>

class CSSValueBridge : public DOM::CSSValue
{
public:
	CSSValueBridge() : CSSValue() {}
	CSSValueBridge(const CSSValue& other) : CSSValue(other) {}
	~CSSValueBridge() {}
};

kde_CSSValue * kde_new_CSSValue(){
	return (kde_CSSValue *) new CSSValueBridge();
}
kde_CSSValue * kde_new_CSSValue1(kde_CSSValue* other){
	return (kde_CSSValue *) new CSSValueBridge((DOM::CSSValue&)* (DOM::CSSValue*)other);
}
void kde_del_CSSValue( kde_CSSValue* p ){
	delete (CSSValueBridge*) p;
}
//kde_DOMString* kde_CSSValue_cssText( kde_CSSValue* instPointer){
//	return (kde_DOMString*) ((CSSValueBridge*)instPointer)->cssText();
//}
void kde_CSSValue_setCssText( kde_CSSValue* instPointer,kde_DOMString* arg1){
	((CSSValueBridge*)instPointer)->setCssText((DOM::DOMString&)* (DOM::DOMString*)arg1);
	return;
}
unsigned short kde_CSSValue_cssValueType( kde_CSSValue* instPointer){
	return (unsigned short) ((CSSValueBridge*)instPointer)->cssValueType();
}
int kde_CSSValue_isCSSValueList( kde_CSSValue* instPointer){
	return (int) ((CSSValueBridge*)instPointer)->isCSSValueList();
}
int kde_CSSValue_isCSSPrimitiveValue( kde_CSSValue* instPointer){
	return (int) ((CSSValueBridge*)instPointer)->isCSSPrimitiveValue();
}
//kde_CSSValueImpl* kde_CSSValue_handle( kde_CSSValue* instPointer){
//	return (kde_CSSValueImpl*) ((CSSValueBridge*)instPointer)->handle();
//}
int kde_CSSValue_isNull( kde_CSSValue* instPointer){
	return (int) ((CSSValueBridge*)instPointer)->isNull();
}
