/***************************************************************************
                            kde_KMidSimpleAPI.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_KMidSimpleAPI.h"
}

#include <libkmid/libkmid.h>

int kde_KMidSimpleAPI_kMidInit( ){
	return (int) KMidSimpleAPI::kMidInit();
}
int kde_KMidSimpleAPI_kMidLoad( char* filename){
	return (int) KMidSimpleAPI::kMidLoad((char*)filename);
}
int kde_KMidSimpleAPI_kMidPlay( int loop){
	return (int) KMidSimpleAPI::kMidPlay((int)loop);
}
int kde_KMidSimpleAPI_kMidStop( ){
	return (int) KMidSimpleAPI::kMidStop();
}
void kde_KMidSimpleAPI_kMidDestruct( ){
	KMidSimpleAPI::kMidDestruct();
	return;
}
int kde_KMidSimpleAPI_kMidIsPlaying( ){
	return (int) KMidSimpleAPI::kMidIsPlaying();
}
int kde_KMidSimpleAPI_kMidDevices( ){
	return (int) KMidSimpleAPI::kMidDevices();
}
char* kde_KMidSimpleAPI_kMidName( int i){
	return (char*) KMidSimpleAPI::kMidName((int)i);
}
char* kde_KMidSimpleAPI_kMidType( int i){
	return (char*) KMidSimpleAPI::kMidType((int)i);
}
void kde_KMidSimpleAPI_kMidSetDevice( int i){
	KMidSimpleAPI::kMidSetDevice((int)i);
	return;
}
void kde_KMidSimpleAPI_kMidSetMidiMapper( char* mapfilename){
	KMidSimpleAPI::kMidSetMidiMapper((char*)mapfilename);
	return;
}
char* kde_KMidSimpleAPI_kMidVersion( ){
	return (char*) KMidSimpleAPI::kMidVersion();
}
char* kde_KMidSimpleAPI_kMidCopyright( ){
	return (char*) KMidSimpleAPI::kMidCopyright();
}
