/****************************************************************************
** ui.h extension file, included from the uic-generated form implementation.
**
** If you wish to add, delete or rename functions or slots use
** Qt Designer which will update this file, preserving your code. Create an
** init() function in place of a constructor, and a destroy() function in
** place of a destructor.
*****************************************************************************/

#include <xine.h>

#include "xineinfo.h"


void MyDialog::initMe()
{
	printf ("Get ready to crash ... \n");
	xine_t *pXineEngine = NULL;
	new CreateXineEngine(&pXineEngine, "/home/varol/.qdvdauthor/qxine_config");
	
	// Don't worry it crashes before 20 seconds are over on mu dual-PIII SuSE 9.1
	sleep (20);
	// Okay and after this we should have a valid xine_t.
}

void MyDialog::slotOkay()
{
    initMe();
}
