src/eric7/Plugins/VcsPlugins/vcsMercurial/HgExtension.py

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8881
54e42bc2437a
child 9221
bf71ee032bb4
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 # -*- coding: utf-8 -*-
2
3 # Copyright (c) 2011 - 2022 Detlev Offenbach <detlev@die-offenbachs.de>
4 #
5
6 """
7 Module implementing the base class for Mercurial extension interfaces.
8 """
9
10 from PyQt6.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