| 1 | #ifndef SCOPEDPROCESSRUNNER_P_H |
|---|---|
| 2 | #define SCOPEDPROCESSRUNNER_P_H |
| 3 | #include "kprocessrunner_p.h" |
| 4 | |
| 5 | class QDBusPendingCallWatcher; |
| 6 | |
| 7 | class ScopedProcessRunner : public ForkingProcessRunner |
| 8 | { |
| 9 | Q_OBJECT |
| 10 | public: |
| 11 | explicit ScopedProcessRunner(); |
| 12 | void startProcess() override; |
| 13 | bool waitForStarted(int timeout) override; |
| 14 | |
| 15 | private: |
| 16 | QDBusPendingCallWatcher *m_transientUnitStartupwatcher; |
| 17 | }; |
| 18 | |
| 19 | #endif // SCOPEDPROCESSRUNNER_H |
| 20 |
