diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-09-20 11:26:23 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-09-20 11:26:23 +0000 |
commit | 477a29fce9b4636b4c0b2bd73c666d4d3cc4e9b1 (patch) | |
tree | 2f4324d04d31701a4997ae22731e032840ee9385 /automation/source | |
parent | 7ca14e1a51b907fd273b51d9809192bb0393375e (diff) |
INTEGRATION: CWS gh7 (1.4.14); FILE MERGED
2004/09/07 15:37:30 gh 1.4.14.1: #i33935#new command killapp
Diffstat (limited to 'automation/source')
-rw-r--r-- | automation/source/testtool/tcommuni.cxx | 9 | ||||
-rw-r--r-- | automation/source/testtool/tcommuni.hxx | 6 |
2 files changed, 11 insertions, 4 deletions
diff --git a/automation/source/testtool/tcommuni.cxx b/automation/source/testtool/tcommuni.cxx index c4e7da886d32..8c50899278af 100644 --- a/automation/source/testtool/tcommuni.cxx +++ b/automation/source/testtool/tcommuni.cxx @@ -2,9 +2,9 @@ * * $RCSfile: tcommuni.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2004-06-17 11:42:13 $ + * last change: $Author: rt $ $Date: 2004-09-20 12:26:10 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -147,6 +147,11 @@ BOOL CommunicationManagerClientViaSocketTT::RetryConnect() } } +BOOL CommunicationManagerClientViaSocketTT::KillApplication() +{ + if ( pProcess ) + return pProcess->Terminate(); +} #define GETSET(aVar, KeyName, Dafault) \ aVar = aConf.ReadKey(KeyName,"No Entry"); \ diff --git a/automation/source/testtool/tcommuni.hxx b/automation/source/testtool/tcommuni.hxx index d9edd9867db4..f5ca739d2ea1 100644 --- a/automation/source/testtool/tcommuni.hxx +++ b/automation/source/testtool/tcommuni.hxx @@ -2,9 +2,9 @@ * * $RCSfile: tcommuni.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2004-06-17 11:42:26 $ + * last change: $Author: rt $ $Date: 2004-09-20 12:26:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -84,6 +84,8 @@ public: virtual BOOL StartCommunication(); virtual BOOL StartCommunication( String aApp, String aParams, Environment *pChildEnv ); + BOOL KillApplication(); + protected: virtual BOOL RetryConnect(); BOOL bApplicationStarted; |