diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-07-06 11:08:27 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-07-06 11:08:27 +0000 |
commit | c5d35bef2cebdd4077382b6c3e4a8693d3b61c60 (patch) | |
tree | 42ad4356be5a68339ae12e855b13bb9bfae21f22 /automation/source/testtool/objtest.hxx | |
parent | 3454887397697272461b12acf0acf3f9c5f8b725 (diff) |
INTEGRATION: CWS docking1 (1.4.18); FILE MERGED
2004/06/15 15:01:40 gh 1.4.18.1: #i29531#add support for string ids to acces UI elements. Needed for new ToolBoxes
Diffstat (limited to 'automation/source/testtool/objtest.hxx')
-rw-r--r-- | automation/source/testtool/objtest.hxx | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/automation/source/testtool/objtest.hxx b/automation/source/testtool/objtest.hxx index 50088b1b5..860e4d0a4 100644 --- a/automation/source/testtool/objtest.hxx +++ b/automation/source/testtool/objtest.hxx @@ -2,9 +2,9 @@ * * $RCSfile: objtest.hxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: hr $ $Date: 2004-06-23 12:26:26 $ + * last change: $Author: obo $ $Date: 2004-07-06 12:08:27 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -76,8 +76,12 @@ #include <basic/basicrt.hxx> #endif #ifndef _BASIC_TESTTOOL_HXX_ -#include <basic/testtool.hxx> +//#include <basic/testtool.hxx> #endif +#ifndef _SMARTID_HXX_ +#include "smartid.hxx" +#endif + #include <map> @@ -142,7 +146,7 @@ class ControlData { public: String Kurzname; - TTUniqueId aUId; + SmartId aUId; }; DBG_NAMEEX( ControlItem ) @@ -154,8 +158,8 @@ private: public: ControlData *pData; - ControlItem( const char *Name, TTUniqueId aUIdP ); - ControlItem( const String &Name, TTUniqueId aUIdP ); + ControlItem( const char *Name, SmartId aUIdP ); + ControlItem( const String &Name, SmartId aUIdP ); // ControlItem( const String &Name, const String &URL, const URLType aType ); // ControlItem( const String &Name, const String &URL, const ULONG nUId ); // ControlItem( const char *Name, const String &URL, const ULONG nUId ); @@ -194,9 +198,9 @@ public: class ControlItemSon : public ControlItem, public ControlSon { public: - ControlItemSon(const char *Name, TTUniqueId aUIdP ) + ControlItemSon(const char *Name, SmartId aUIdP ) : ControlItem( Name, aUIdP ) {} - ControlItemSon(const String &Name, TTUniqueId aUIdP ); + ControlItemSon(const String &Name, SmartId aUIdP ); // ControlItemSon(const String &Name, const String &URL, const URLType aType ); // ControlItemSon(const String &Name, const String &URL, const ULONG nUId ); // ControlItemSon(const char *Name, const String &URL, const ULONG nUId ); @@ -206,9 +210,9 @@ public: class ControlDef : public ControlItemSon { public: - ControlDef(const char *Name, TTUniqueId aUIdP ) + ControlDef(const char *Name, SmartId aUIdP ) : ControlItemSon( Name, aUIdP ) {DBG_CTOR(ControlDef,0);} - ControlDef(const String &Name, TTUniqueId aUIdP ); + ControlDef(const String &Name, SmartId aUIdP ); // ControlDef(const String &Name, const String &URL, const URLType aType ); ControlDef(const String &aOldName, const String &aNewName, ControlDef *pOriginal, BOOL bWithSons = FALSE ); ~ControlDef() {DBG_DTOR(ControlDef,0);} @@ -221,7 +225,7 @@ public: class ControlItemUId : public ControlItem { public: - ControlItemUId(String Name, TTUniqueId aUIdP) + ControlItemUId(String Name, SmartId aUIdP) : ControlItem( Name, aUIdP){} virtual BOOL operator < (const ControlItem &rPar); virtual BOOL operator == (const ControlItem &rPar); @@ -230,7 +234,7 @@ public: class ControlItemUIdSon : public ControlItemUId, public ControlSon { public: - ControlItemUIdSon(String Name, TTUniqueId aUIdP) : ControlItemUId( Name, aUIdP) {} + ControlItemUIdSon(String Name, SmartId aUIdP) : ControlItemUId( Name, aUIdP) {} MK_SON_ACCESS( ControlItemUId ) }; @@ -239,14 +243,14 @@ class ReverseName : public ControlItemUId public: ULONG LastSequence; - ReverseName(String Name, TTUniqueId aUIdP, ULONG nSeq) : ControlItemUId( Name, aUIdP), LastSequence(nSeq) {} + ReverseName(String Name, SmartId aUIdP, ULONG nSeq) : ControlItemUId( Name, aUIdP), LastSequence(nSeq) {} }; class CRevNames: public CNames { public: - void Insert( String aName, TTUniqueId aUId, ULONG nSeq ); - String GetName( TTUniqueId aUId ); + void Insert( String aName, SmartId aUId, ULONG nSeq ); + String GetName( SmartId aUId ); void Invalidate ( ULONG nSeq ); }; |