< prev index next >

modules/fxpackager/src/main/native/library/common/PosixPlatform.h

Print this page
rev 9619 : imported patch 9-jake-fxpackager.patch

@@ -62,16 +62,20 @@
 
 class PosixProcess : public Process {
 private:
     pid_t FChildPID;
     sigset_t saveblock;
+    int FOutputHandle;
+    int FInputHandle;
 #ifdef MAC
     struct sigaction savintr, savequit;
 #endif //MAC
     bool FRunning;
 
     void Cleanup();
+    bool ReadOutput();
+    //static void ProcessOutput(Process *Instance, std::vector<TString> Output);
 
 public:
     PosixProcess();
     virtual ~PosixProcess();
 

@@ -79,9 +83,11 @@
     virtual bool Terminate();
     virtual bool Execute(const TString Application, const std::vector<TString> Arguments,
         bool AWait = false);
     virtual bool Wait();
     virtual TProcessID GetProcessID();
+    virtual void SetInput(TString Value);
+    virtual std::list<TString> GetOutput();
 };
 
 #endif //POSIXPLATFORM_H
 #endif //POSX
< prev index next >