/***************************************************************************
                          main.cpp  -  TFMXcess main
                             -------------------                                         
    begin                : Wed Sep 29 12:47:25 MEST 1999
                                           
    copyright            : (C) 1999 by David Banz                         
    email                : neo@sakura-audio.cx
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   * 
 *                                                                         *
 ***************************************************************************/

#include "KTfxWidget.h"

KApplication *mykapp;
KTfxWidget *mywidget;

// ########## handler for SIGINT (makes sure the player is closed as well) ##########
void sigHandlerINT(int signal)
{
	// this makes sure the player is stopped as well
	mywidget->signalHelperINT();
}

int main(int argc, char** argv) {
	KApplication a(argc,argv,"tfmxcess");
	mykapp=&a;
  
	KTfxWidget* tfmxcess = new KTfxWidget;
	mywidget=tfmxcess;

	a.enableSessionManagement(true);
	
	a.setTopWidget(tfmxcess);

 	tfmxcess->show();

	return a.exec();
}
