comparison 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
comparison
equal deleted inserted replaced
171:aab308a3b304 172:b6dd1ee0e486
31 class HgRunner : public QProgressBar 31 class HgRunner : public QProgressBar
32 { 32 {
33 Q_OBJECT 33 Q_OBJECT
34 34
35 public: 35 public:
36 HgRunner(QWidget * parent = 0); 36 HgRunner(QString myDirPath, QWidget * parent = 0);
37 ~HgRunner(); 37 ~HgRunner();
38 38
39 void requestAction(HgAction action); 39 void requestAction(HgAction action);
40 40
41 signals: 41 signals:
63 bool checkPrompts(QString); 63 bool checkPrompts(QString);
64 64
65 void openTerminal(); 65 void openTerminal();
66 void closeTerminal(); 66 void closeTerminal();
67 67
68 void findExtension();
68 bool unbundleExtension(); 69 bool unbundleExtension();
69 70
70 int m_ptyMasterFd; 71 int m_ptyMasterFd;
71 int m_ptySlaveFd; 72 int m_ptySlaveFd;
72 QString m_ptySlaveFilename; 73 QString m_ptySlaveFilename;
77 QString m_stdout; 78 QString m_stdout;
78 QString m_stderr; 79 QString m_stderr;
79 80
80 QString m_userName; 81 QString m_userName;
81 QString m_realm; 82 QString m_realm;
82 83
84 QString m_myDirPath;
83 QString m_extensionPath; 85 QString m_extensionPath;
84 86
85 typedef std::deque<HgAction> ActionQueue; 87 typedef std::deque<HgAction> ActionQueue;
86 ActionQueue m_queue; 88 ActionQueue m_queue;
87 HgAction m_currentAction; 89 HgAction m_currentAction;