Plugins/VcsPlugins/vcsMercurial/HgExtension.py

changeset 1087
fb8cd56819a9
child 1131
7781e396c903
equal deleted inserted replaced
1086:b48ce064b224 1087:fb8cd56819a9
1 # -*- coding: utf-8 -*-
2
3 # Copyright (c) 2011 Detlev Offenbach <detlev@die-offenbachs.de>
4 #
5
6 """
7 Module implementing the base class for Mercurial extension interfaces.
8 """
9
10 from PyQt4.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 QObject.__init__(self, 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