/***************************************************************************
                            qt_QCanvasPixmapArray.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_QCanvasPixmapArray.h"
}

#include <qcanvas.h>

class QCanvasPixmapArrayBridge : public QCanvasPixmapArray
{
public:
	QCanvasPixmapArrayBridge() : QCanvasPixmapArray() {}
	QCanvasPixmapArrayBridge(const QString& datafilenamepattern, int framecount) : QCanvasPixmapArray(datafilenamepattern, framecount) {}
	~QCanvasPixmapArrayBridge() {}
};

qt_QCanvasPixmapArray * qt_new_QCanvasPixmapArray(){
	return (qt_QCanvasPixmapArray *) new QCanvasPixmapArrayBridge();
}
qt_QCanvasPixmapArray * qt_new_QCanvasPixmapArray1(qt_QString * datafilenamepattern, int framecount){
	return (qt_QCanvasPixmapArray *) new QCanvasPixmapArrayBridge((QString&)* (QString*)datafilenamepattern, (int)framecount);
}
void qt_del_QCanvasPixmapArray( qt_QCanvasPixmapArray* p ){
	delete (QCanvasPixmapArrayBridge*) p;
}
int qt_QCanvasPixmapArray_readPixmaps( qt_QCanvasPixmapArray* instPointer,qt_QString * datafilenamepattern, int framecount){
	return (int) ((QCanvasPixmapArrayBridge*)instPointer)->readPixmaps((QString&)* (QString*)datafilenamepattern, (int)framecount);
}
int qt_QCanvasPixmapArray_readCollisionMasks( qt_QCanvasPixmapArray* instPointer,qt_QString * filenamepattern){
	return (int) ((QCanvasPixmapArrayBridge*)instPointer)->readCollisionMasks((QString&)* (QString*)filenamepattern);
}
int qt_QCanvasPixmapArray_isValid( qt_QCanvasPixmapArray* instPointer){
	return (int) ((QCanvasPixmapArrayBridge*)instPointer)->isValid();
}
qt_QCanvasPixmap* qt_QCanvasPixmapArray_image( qt_QCanvasPixmapArray* instPointer,int i){
	return (qt_QCanvasPixmap*) ((QCanvasPixmapArrayBridge*)instPointer)->image((int)i);
}
void qt_QCanvasPixmapArray_setImage( qt_QCanvasPixmapArray* instPointer,int i, qt_QCanvasPixmap* p){
	((QCanvasPixmapArrayBridge*)instPointer)->setImage((int)i, (QCanvasPixmap*)p);
	return;
}
unsigned int qt_QCanvasPixmapArray_count( qt_QCanvasPixmapArray* instPointer){
	return (unsigned int) ((QCanvasPixmapArrayBridge*)instPointer)->count();
}
