summaryrefslogtreecommitdiff
path: root/automation
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-09-20 11:26:23 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-09-20 11:26:23 +0000
commit477a29fce9b4636b4c0b2bd73c666d4d3cc4e9b1 (patch)
tree2f4324d04d31701a4997ae22731e032840ee9385 /automation
parent7ca14e1a51b907fd273b51d9809192bb0393375e (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')
-rw-r--r--automation/source/testtool/tcommuni.cxx9
-rw-r--r--automation/source/testtool/tcommuni.hxx6
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;