Kaydet (Commit) b29e1813 authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS gh8 (1.9.6); FILE MERGED

2004/10/18 14:25:34 gh 1.9.6.2: #117519#destroy windows on exit
2004/10/15 11:23:00 gh 1.9.6.1: #i35365#return found itemwindow on toolbox immediately
üst 3633a525
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: statemnt.hxx,v $ * $RCSfile: statemnt.hxx,v $
* *
* $Revision: 1.9 $ * $Revision: 1.10 $
* *
* last change: $Author: obo $ $Date: 2004-09-09 17:24:17 $ * last change: $Author: hr $ $Date: 2004-11-09 16:52:53 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -137,15 +137,16 @@ class EditWindow; ...@@ -137,15 +137,16 @@ class EditWindow;
void SAL_CALL osl_TestToolDebugPrint( const sal_Char *pString ); void SAL_CALL osl_TestToolDebugPrint( const sal_Char *pString );
#define IsVisible IsReallyVisible
#define GET_REAL_PARENT() GetWindow( WINDOW_REALPARENT )
typedef USHORT SearchFlags; typedef USHORT SearchFlags;
#define SEARCH_NOOVERLAP ((SearchFlags) 0x0001) #define SEARCH_NOOVERLAP ((SearchFlags) 0x0001)
#define SEARCH_NO_TOPLEVEL_WIN ((SearchFlags) 0x0002) #define SEARCH_NO_TOPLEVEL_WIN ((SearchFlags) 0x0002)
#define SEARCH_FOCUS_FIRST ((SearchFlags) 0x0004) #define SEARCH_FOCUS_FIRST ((SearchFlags) 0x0004)
#define SEARCH_FIND_DISABLED ((SearchFlags) 0x0008) #define SEARCH_FIND_DISABLED ((SearchFlags) 0x0008)
#define IsVisible IsReallyVisible
#define GET_REAL_PARENT() GetWindow( WINDOW_REALPARENT )
class Search class Search
{ {
SearchFlags nSearchFlags; SearchFlags nSearchFlags;
...@@ -177,6 +178,28 @@ public: ...@@ -177,6 +178,28 @@ public:
}; };
class DisplayHidWin;
class StatementCommand;
class TranslateWin;
struct TTSettings
{
// DisplayHID
StatementCommand *pDisplayInstance;
DisplayHidWin *pDisplayHidWin;
Window *Old;
Window *Act;
String aOriginalCaption;
// Translate
TranslateWin *pTranslateWin;
BOOL bToTop;
};
TTSettings* GetTTSettings();
#define MAX_RETRIES 9 #define MAX_RETRIES 9
class StatementList : public SafePointer class StatementList : public SafePointer
{ {
...@@ -450,12 +473,14 @@ private: ...@@ -450,12 +473,14 @@ private:
class SearchUID : public Search class SearchUID : public Search
{ {
Window *pMaybeResult; Window *pMaybeResult;
Window *pAlternateResult;
SmartId aUId; SmartId aUId;
BOOL bSearchButtonOnToolbox; BOOL bSearchButtonOnToolbox;
public: public:
SearchUID( SmartId aUIdP, BOOL bSearchButtonOnToolboxP ): Search( SEARCH_FOCUS_FIRST ), pMaybeResult(NULL), aUId(aUIdP), bSearchButtonOnToolbox(bSearchButtonOnToolboxP) {} SearchUID( SmartId aUIdP, BOOL bSearchButtonOnToolboxP ): Search( SEARCH_FOCUS_FIRST ), pMaybeResult(NULL), pAlternateResult(NULL), aUId(aUIdP), bSearchButtonOnToolbox(bSearchButtonOnToolboxP) {}
virtual BOOL IsWinOK( Window *pWin ); virtual BOOL IsWinOK( Window *pWin );
Window* GetMaybeWin() { return pMaybeResult; } Window* GetMaybeWin() { return pMaybeResult; }
Window* GetAlternateResultWin() { return pAlternateResult; }
}; };
class SearchActive : public Search class SearchActive : public Search
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment