#include <qthread.h>
#include <windows.h> //ShellExecute
#ifndef JUSTONE_RUNEXETHREAD
#include "LoggingMgr.h"
#endif


class RunExeThread : public QThread
{
public:
	RunExeThread( int t_id, LoggingMgr *lm );
	virtual void run( void );
	SetupShellExecute( void );


private:
	LoggingMgr *m_pLogger;
	int m_iThreadID;
	HWND m_hwnd;
	LPCTSTR m_lpOperation;
    LPCTSTR m_lpFile; 
    LPCTSTR m_lpParameters; 
    LPCTSTR m_lpDirectory;
    INT m_nShowCmd;


};


