summaryrefslogtreecommitdiff
path: root/automation/source/inc
diff options
context:
space:
mode:
authorGregor Hartmann <gh <Gregor Hartmann<gh@openoffice.org>2010-08-27 14:05:36 +0200
committerGregor Hartmann <gh <Gregor Hartmann<gh@openoffice.org>2010-08-27 14:05:36 +0200
commitd30fb705f6a0d1f6087a05fbe7a38cc49aff4538 (patch)
tree7c4630cc96552087c3d9a11095c0da460996b1d8 /automation/source/inc
parent2ac25ac0a3343fe77cd6dc73f0f57efb60479410 (diff)
testtool: fix libsts to work with old testtool
Diffstat (limited to 'automation/source/inc')
-rw-r--r--automation/source/inc/cmdbasestream.hxx8
-rw-r--r--automation/source/inc/rcontrol.hxx4
2 files changed, 8 insertions, 4 deletions
diff --git a/automation/source/inc/cmdbasestream.hxx b/automation/source/inc/cmdbasestream.hxx
index 8eca54de2..c598cafa1 100644
--- a/automation/source/inc/cmdbasestream.hxx
+++ b/automation/source/inc/cmdbasestream.hxx
@@ -38,7 +38,6 @@
#include <automation/commtypes.hxx>
#include "icommstream.hxx"
-#include "rtl/string.hxx"
class CmdBaseStream
{
@@ -57,8 +56,13 @@ public:
void GenReturn( comm_USHORT nRet, rtl::OString *pUId, comm_BOOL bBool );
void GenReturn( comm_USHORT nRet, rtl::OString *pUId, comm_ULONG nNr, comm_String *pString, comm_BOOL bBool );
+ void GenReturn( comm_USHORT nRet, comm_USHORT nMethod, comm_ULONG nNr );
+ void GenReturn( comm_USHORT nRet, comm_USHORT nMethod, comm_String *pString );
+ void GenReturn( comm_USHORT nRet, comm_USHORT nMethod, comm_BOOL bBool );
+ void GenReturn( comm_USHORT nRet, comm_USHORT nMethod, comm_USHORT nNr );
+
// MacroRecorder
- void GenReturn( comm_USHORT nRet, rtl::OString *pUId, comm_USHORT nMethod );
+ void GenReturn( comm_USHORT nRet, rtl::OString *pUId, comm_USHORT nMethod ); // also used outside MacroRecorder
void GenReturn( comm_USHORT nRet, rtl::OString *pUId, comm_USHORT nMethod, comm_String *pString );
void GenReturn( comm_USHORT nRet, rtl::OString *pUId, comm_USHORT nMethod, comm_String *pString, comm_BOOL bBool );
void GenReturn( comm_USHORT nRet, rtl::OString *pUId, comm_USHORT nMethod, comm_BOOL bBool );
diff --git a/automation/source/inc/rcontrol.hxx b/automation/source/inc/rcontrol.hxx
index 32b5fdd3c..2f02c66d9 100644
--- a/automation/source/inc/rcontrol.hxx
+++ b/automation/source/inc/rcontrol.hxx
@@ -37,13 +37,13 @@
#define _RCONTROL_HXX
-#define UID_ACTIVE 0
+#define UID_ACTIVE "UID_ACTIVE"
#define SI_IPCCommandBlock 1
#define SI_SocketCommandBlock SI_IPCCommandBlock // Zumindest erstmal
#define SI_DirectCommandBlock 2
-#define SIControl 3
+#define SIControl 3 // remove after numeric HelpIDs are completely removed and no legacy testtool is used anymore
#define SISlot 4
#define SIFlow 5
#define SICommand 6