eric7/Plugins/VcsPlugins/vcsMercurial/HgExtension.py

branch
eric7
changeset 8312
800c432b34c8
parent 8218
7c09585bd960
child 8318
962bce857696
equal deleted inserted replaced
8311:4e8b98454baa 8312:800c432b34c8
1 # -*- coding: utf-8 -*-
2
3 # Copyright (c) 2011 - 2021 Detlev Offenbach <detlev@die-offenbachs.de>
4 #
5
6 """
7 Module implementing the base class for Mercurial extension interfaces.
8 """
9
10 from PyQt5.QtCore import QObject
11
12
13 class HgExtension(QObject):
14 """
15 Class implementing the base class for Mercurial extension interfaces.
16 """
17 def __init__(self, vcs):
18 """
19 Constructor
20
21 @param vcs reference to the Mercurial vcs object
22 """
23 super().__init__(vcs)
24
25 self.vcs = vcs
26
27 def shutdown(self):
28 """
29 Public method used to shutdown the extension interface.
30
31 The method of this base class does nothing.
32 """
33 pass

eric ide

mercurial