diff hgrunner.h @ 172:b6dd1ee0e486

* Fix failure to recognise local uncommitted changes when an untracked file was selected * Win32: Look in installed location (currently just the location of the present .exe) for executables as well as in path * Win32: Search for easyhg extension in same way as executables * Win32: Set installed location to path when running hg commands (for dependent DLLs)
author Chris Cannam
date Wed, 15 Dec 2010 22:07:31 +0000
parents 5b2046f67a56
children 3d6d826b04ad
line wrap: on
line diff
--- a/hgrunner.h	Tue Dec 14 21:16:52 2010 +0000
+++ b/hgrunner.h	Wed Dec 15 22:07:31 2010 +0000
@@ -33,7 +33,7 @@
     Q_OBJECT
 
 public:
-    HgRunner(QWidget * parent = 0);
+    HgRunner(QString myDirPath, QWidget * parent = 0);
     ~HgRunner();
 
     void requestAction(HgAction action);
@@ -65,6 +65,7 @@
     void openTerminal();
     void closeTerminal();
 
+    void findExtension();
     bool unbundleExtension();
 
     int m_ptyMasterFd;
@@ -79,7 +80,8 @@
 
     QString m_userName;
     QString m_realm;
-    
+
+    QString m_myDirPath;
     QString m_extensionPath;
 
     typedef std::deque<HgAction> ActionQueue;