/***************************************************************************
 *   Copyright (C) 2004 by Sashmit Bhaduri                                 *
 *   smt@vfemail.net                                                       *
 *                                                                         *
 *   Licensed under GPL.                                                   *
 ***************************************************************************/

#ifndef KLAMAV_RUN_H 
#define KLAMAV_RUN_H

#include <tdeparts/browserrun.h>

namespace KlamAV
{

    class Viewer;
    
    class BrowserRun : public KParts::BrowserRun
{
	TQ_OBJECT
    public:
        BrowserRun(Viewer *, TQWidget *, KParts::ReadOnlyPart *, const KURL & , const KParts::URLArgs &);
        virtual ~BrowserRun();
    
    protected:
	    virtual void foundMimeType( const TQString & _type );

    private slots:
        void killMyself();

    private:
        Viewer *m_viewer;


};

}

#endif
