eric6/Plugins/VcsPlugins/vcsMercurial/HgExtension.py

branch
maintenance
changeset 6989
8b8cadf8d7e9
parent 6942
2602857055c5
child 7229
53054eb5b15a
equal deleted inserted replaced
6938:7926553b7509 6989:8b8cadf8d7e9
1 # -*- coding: utf-8 -*-
2
3 # Copyright (c) 2011 - 2019 Detlev Offenbach <detlev@die-offenbachs.de>
4 #
5
6 """
7 Module implementing the base class for Mercurial extension interfaces.
8 """
9
10 from __future__ import unicode_literals
11
12 from PyQt5.QtCore import QObject
13
14
15 class HgExtension(QObject):
16 """
17 Class implementing the base class for Mercurial extension interfaces.
18 """
19 def __init__(self, vcs):
20 """
21 Constructor
22
23 @param vcs reference to the Mercurial vcs object
24 """
25 super(HgExtension, self).__init__(vcs)
26
27 self.vcs = vcs
28
29 def shutdown(self):
30 """
31 Public method used to shutdown the extension interface.
32
33 The method of this base class does nothing.
34 """
35 pass

eric ide

mercurial