summaryrefslogtreecommitdiff
path: root/automation/source/inc
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-07-06 11:03:03 +0000
committerOliver Bolte <obo@openoffice.org>2004-07-06 11:03:03 +0000
commitbcb1bf66bebf29894f983e3104bcebf445734a40 (patch)
treea9d43e2820c64241448527b12abcd7796fbcff1b /automation/source/inc
parentd55d6f3778d0a140e318c2d7a56867b5c1e1d3cf (diff)
INTEGRATION: CWS docking1 (1.2.86); FILE MERGED
2004/06/15 15:01:34 gh 1.2.86.1: #i29531#add support for string ids to acces UI elements. Needed for new ToolBoxes
Diffstat (limited to 'automation/source/inc')
-rw-r--r--automation/source/inc/cmdbasestream.hxx42
1 files changed, 21 insertions, 21 deletions
diff --git a/automation/source/inc/cmdbasestream.hxx b/automation/source/inc/cmdbasestream.hxx
index 471c4c41faec..34857bf8038d 100644
--- a/automation/source/inc/cmdbasestream.hxx
+++ b/automation/source/inc/cmdbasestream.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: cmdbasestream.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: hr $ $Date: 2003-03-18 16:03:46 $
+ * last change: $Author: obo $ $Date: 2004-07-06 12:03:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -78,35 +78,28 @@ class CmdBaseStream
protected:
ICommStream* pCommStream;
CmdBaseStream();
- ~CmdBaseStream();
+ virtual ~CmdBaseStream();
public:
- void GenError( comm_ULONG nError, const comm_UniChar* aString, comm_USHORT nLenInChars );
+ void GenError( SmartId *pUId, comm_String *pString );
void GenReturn( comm_USHORT nRet, comm_ULONG nNr );
- void GenReturn( comm_USHORT nRet, comm_ULONG nUId, comm_ULONG nNr );
- void GenReturn( comm_USHORT nRet, comm_ULONG nUId, const comm_UniChar* aString, comm_USHORT nLenInChars );
- void GenReturn( comm_USHORT nRet, comm_ULONG nUId, comm_BOOL bBool );
- void GenReturn( comm_USHORT nRet, comm_ULONG nUId, comm_ULONG nNr, const comm_UniChar* aString, comm_USHORT nLenInChars, comm_BOOL bBool );
+ void GenReturn( comm_USHORT nRet, SmartId *pUId, comm_ULONG nNr );
+ void GenReturn( comm_USHORT nRet, SmartId *pUId, comm_String *pString );
+ void GenReturn( comm_USHORT nRet, SmartId *pUId, comm_BOOL bBool );
+ void GenReturn( comm_USHORT nRet, SmartId *pUId, comm_ULONG nNr, comm_String *pString, comm_BOOL bBool );
// MacroRecorder
- void GenReturn( comm_USHORT nRet, comm_ULONG nUId, comm_USHORT nMethod );
- void GenReturn( comm_USHORT nRet, comm_ULONG nUId, comm_USHORT nMethod, const comm_UniChar* aString, comm_USHORT nLenInChars );
- void GenReturn( comm_USHORT nRet, comm_ULONG nUId, comm_USHORT nMethod, const comm_UniChar* aString, comm_USHORT nLenInChars, comm_BOOL bBool );
- void GenReturn( comm_USHORT nRet, comm_ULONG nUId, comm_USHORT nMethod, comm_BOOL bBool );
- void GenReturn( comm_USHORT nRet, comm_ULONG nUId, comm_USHORT nMethod, comm_ULONG nNr );
-
-// StringID
- void GenReturn( comm_USHORT nRet, const comm_UniChar* aUId, comm_USHORT nUIdLenInChars );
- void GenReturn( comm_USHORT nRet, const comm_UniChar* aUId, comm_USHORT nUIdLenInChars, comm_ULONG nNr );
- void GenReturn( comm_USHORT nRet, const comm_UniChar* aUId, comm_USHORT nUIdLenInChars, const comm_UniChar* aString, comm_USHORT nLenInChars );
- void GenReturn( comm_USHORT nRet, const comm_UniChar* aUId, comm_USHORT nUIdLenInChars, comm_ULONG nNr, const comm_UniChar* aString, comm_USHORT nLenInChars, comm_BOOL bBool );
- void GenReturn( comm_USHORT nRet, const comm_UniChar* aUId, comm_USHORT nUIdLenInChars, comm_BOOL bBool );
+ void GenReturn( comm_USHORT nRet, SmartId *pUId, comm_USHORT nMethod );
+ void GenReturn( comm_USHORT nRet, SmartId *pUId, comm_USHORT nMethod, comm_String *pString );
+ void GenReturn( comm_USHORT nRet, SmartId *pUId, comm_USHORT nMethod, comm_String *pString, comm_BOOL bBool );
+ void GenReturn( comm_USHORT nRet, SmartId *pUId, comm_USHORT nMethod, comm_BOOL bBool );
+ void GenReturn( comm_USHORT nRet, SmartId *pUId, comm_USHORT nMethod, comm_ULONG nNr );
void Read ( comm_USHORT &nNr );
void Read ( comm_ULONG &nNr );
- void Read ( comm_UniChar* &aString, comm_USHORT &nLenInChars );
+ void Read (comm_UniChar* &aString, comm_USHORT &nLenInChars );
void Read ( comm_BOOL &bBool );
comm_USHORT GetNextType();
@@ -114,6 +107,13 @@ public:
void Write( comm_ULONG nNr );
void Write( const comm_UniChar* aString, comm_USHORT nLenInChars );
void Write( comm_BOOL bBool );
+
+// Complex Datatypes to be handled system dependent
+ virtual void Read ( comm_String *&pString );
+ virtual void Read ( SmartId* &pId );
+
+ virtual void Write( comm_String *pString );
+ virtual void Write( SmartId* pId );
};
#endif