1 /***************************************************************************
2 * Copyright 2007 Dukju Ahn <dukjuahn@gmail.com> *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
9 ***************************************************************************/
14 #include <vcs/vcsjob.h>
16 #include "kdevsvncpp/context_listener.hpp"
25 class SvnInternalJobBase
;
27 namespace ThreadWeaver
34 class SvnJobBase
: public KDevelop::VcsJob
38 SvnJobBase( KDevSvnPlugin
* );
39 virtual ~SvnJobBase();
40 virtual SvnInternalJobBase
* internalJob() const = 0;
41 KDevelop::VcsJob::JobStatus
status() const;
42 KDevelop::IPlugin
* vcsPlugin() const;
44 void askForLogin( const QString
& );
45 void showNotification( const QString
&, const QString
& );
46 void askForCommitMessage();
47 void askForSslServerTrust( const QStringList
&, const QString
&, const QString
&,
48 const QString
&, const QString
&, const QString
&,
50 void askForSslClientCert( const QString
& );
51 void askForSslClientCertPassword( const QString
& );
54 void internalJobStarted( ThreadWeaver::Job
* job
);
55 void internalJobDone( ThreadWeaver::Job
* job
);
56 void internalJobFailed( ThreadWeaver::Job
* job
);
59 KDevSvnPlugin
* m_part
;
62 KDevelop::VcsJob::JobStatus m_status
;