#ifndef _TESTLISTENER_
#define _TESTLISTENER_

#include "src/svnqt/context_listener.h"

class TestListener:public svn::ContextListener
{
    public:
        TestListener(){}
        virtual ~TestListener(){}

        virtual void contextProgress(long long int current, long long int max){};
        virtual bool contextSslClientCertPwPrompt (TQString &,const TQString &, bool &){return false;}
        virtual bool contextLoadSslClientCertPw(TQString&,const TQString&){return false;}
        virtual bool contextSslClientCertPrompt (TQString &){return false;}
        virtual svn::ContextListener::SslServerTrustAnswer
                contextSslServerTrustPrompt (const SslServerTrustData &,
                                             apr_uint32_t & ){return svn::ContextListener::SslServerTrustAnswer();}
        virtual bool contextGetLogMessage (TQString &,const svn::CommitItemList&){return false;}
        virtual bool contextCancel(){return false;}
        virtual void contextNotify (const svn_wc_notify_t *){}
        virtual void contextNotify (const char *,svn_wc_notify_action_t,
                                    svn_node_kind_t,
                                    const char *,
                                    svn_wc_notify_state_t,
                                    svn_wc_notify_state_t,
                                    svn_revnum_t){}
        virtual bool contextGetSavedLogin (const TQString & realm,TQString & username,TQString & password){return false;}
        virtual bool contextGetCachedLogin (const TQString & realm,TQString & username,TQString & password){return false;} 
        virtual bool contextGetLogin (const TQString & realm,
                                      TQString & username,
                                      TQString & password,
                                      bool & maySave){maySave=false;return false;}

};

#endif
