forked from qt-creator/qt-creator
Fixes: Enable switching of VCS according to currentProject
Task: 205821 RevBy: con Details: Add a IVersionControl to git. Extend IF to able to return a name and add enabling options. Connect project explorer to enable the right VCS.
This commit is contained in:
@@ -55,6 +55,7 @@ QT_END_NAMESPACE
|
||||
namespace Core {
|
||||
class IEditorFactory;
|
||||
class ICore;
|
||||
class IVersionControl;
|
||||
}
|
||||
|
||||
namespace Git {
|
||||
@@ -87,8 +88,6 @@ public:
|
||||
~GitPlugin();
|
||||
static GitPlugin *instance();
|
||||
|
||||
bool vcsOpen(const QString &fileName);
|
||||
|
||||
bool initialize(const QStringList &arguments
|
||||
, QString *error_message);
|
||||
void extensionsInitialized();
|
||||
@@ -154,6 +153,7 @@ private:
|
||||
QList<Core::IEditorFactory*> m_editorFactories;
|
||||
CoreListener *m_coreListener;
|
||||
Core::IEditorFactory *m_submitEditorFactory;
|
||||
Core::IVersionControl *m_versionControl;
|
||||
QString m_submitRepository;
|
||||
QStringList m_submitOrigCommitFiles;
|
||||
QTemporaryFile *m_changeTmpFile;
|
||||
|
||||
Reference in New Issue
Block a user