comparison hgrunner.h @ 180:3d6d826b04ad

* Similarly, tidier lookup for Hg binary and extension
author Chris Cannam
date Fri, 17 Dec 2010 08:53:54 +0000
parents b6dd1ee0e486
children bf366e0b9050
comparison
equal deleted inserted replaced
179:a51980a00dac 180:3d6d826b04ad
50 void dataReadyPty(); 50 void dataReadyPty();
51 51
52 private: 52 private:
53 void checkQueue(); 53 void checkQueue();
54 void startCommand(HgAction action); 54 void startCommand(HgAction action);
55 QString getHgBinaryName();
56 void closeProcInput(); 55 void closeProcInput();
57 void killCurrentCommand(); 56 void killCurrentCommand();
58 57
59 void noteUsername(QString); 58 void noteUsername(QString);
60 void noteRealm(QString); 59 void noteRealm(QString);
63 bool checkPrompts(QString); 62 bool checkPrompts(QString);
64 63
65 void openTerminal(); 64 void openTerminal();
66 void closeTerminal(); 65 void closeTerminal();
67 66
68 void findExtension(); 67 QString findExtension();
69 bool unbundleExtension(); 68 QString findHgBinaryName();
69 QString unbundleExtension();
70 70
71 int m_ptyMasterFd; 71 int m_ptyMasterFd;
72 int m_ptySlaveFd; 72 int m_ptySlaveFd;
73 QString m_ptySlaveFilename; 73 QString m_ptySlaveFilename;
74 QFile *m_ptyFile; 74 QFile *m_ptyFile;