eric7/Plugins/VcsPlugins/vcsMercurial/HgExtension.py

branch
eric7
changeset 8312
800c432b34c8
parent 8218
7c09585bd960
child 8318
962bce857696
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/eric7/Plugins/VcsPlugins/vcsMercurial/HgExtension.py	Sat May 15 18:45:04 2021 +0200
@@ -0,0 +1,33 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (c) 2011 - 2021 Detlev Offenbach <detlev@die-offenbachs.de>
+#
+
+"""
+Module implementing the base class for Mercurial extension interfaces.
+"""
+
+from PyQt5.QtCore import QObject
+
+
+class HgExtension(QObject):
+    """
+    Class implementing the base class for Mercurial extension interfaces.
+    """
+    def __init__(self, vcs):
+        """
+        Constructor
+        
+        @param vcs reference to the Mercurial vcs object
+        """
+        super().__init__(vcs)
+        
+        self.vcs = vcs
+    
+    def shutdown(self):
+        """
+        Public method used to shutdown the extension interface.
+        
+        The method of this base class does nothing.
+        """
+        pass

eric ide

mercurial