diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-04-11 20:39:44 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-04-11 20:39:44 +0000 |
commit | f555a32a211ac47b7579c6ad7cfe3aa6832b6769 (patch) | |
tree | 90e1b07e2bc2be28461cf6a05189c41f4ae4bb1c /soldep | |
parent | b82b48a9f773e5e693c7da0da3b6bc3fad1e9612 (diff) |
INTEGRATION: CWS hedaburemove01 (1.1.2); FILE ADDED
2007/04/04 14:56:38 vg 1.1.2.2: resync to SRC680_m207
2007/02/09 16:15:17 vg 1.1.2.1: #72503# get rid of hedabu procedure: Moving headers to soldep/inc/soldep and correspondent necessary changes
Diffstat (limited to 'soldep')
-rw-r--r-- | soldep/inc/soldep/prj.hxx | 472 | ||||
-rw-r--r-- | soldep/inc/soldep/soldep.hxx | 110 | ||||
-rw-r--r-- | soldep/inc/soldep/soldlg.hrc | 86 |
3 files changed, 668 insertions, 0 deletions
diff --git a/soldep/inc/soldep/prj.hxx b/soldep/inc/soldep/prj.hxx new file mode 100644 index 000000000000..164d1ab1301d --- /dev/null +++ b/soldep/inc/soldep/prj.hxx @@ -0,0 +1,472 @@ + /************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: prj.hxx,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: vg $ $Date: 2007-04-11 21:38:59 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + ************************************************************************/ + +#ifndef _PRJ_HXX +#define _PRJ_HXX + +#include <tools/fsys.hxx> +#include <tools/stream.hxx> +#ifndef _LISTMACR_HXX +#include <bootstrp/listmacr.hxx> +#endif +#include <soldep/XmlBuildList.hxx> +#include <vos/mutex.hxx> +#include <tools/string.hxx> + +#define XML_EXT "xlist" + +#define OS_NONE 0x0000 +#define OS_WIN16 0x0001 +#define OS_WIN32 0x0002 +#define OS_OS2 0x0004 +#define OS_UNX 0x0008 +#define OS_MAC 0x0010 +#define OS_ALL ( OS_WIN16 | OS_WIN32 | OS_OS2 | OS_UNX | OS_MAC ) + +#define COMMAND_PROJECTROOT 0x0000 +#define COMMAND_NMAKE 0x0001 +#define COMMAND_GET 0x0002 +#define COMMAND_USER_START 0x0003 +#define COMMAND_USER_END 0xFFFE +#define COMMAND_ALLDIRS 0xFFFF + +class SByteStringList; +class GenericInformationList; + +/* +// Pfade auf Konfigurationsdateien des Build-Servers + +#define REQUEST_DIR \\src\data4\source\b_server\server\newjob +*/ +/********************************************************************* +* +* Die Klasse CommandData haelte alle Informationen, die fuer die +* Abarbeitung eines Kommandos (nmake, get) noetig sind +* +*********************************************************************/ + +class CommandData +{ + ByteString aPrj; + ByteString aLogFileName; + ByteString aInpath; + ByteString aUpd; + ByteString aUpdMinor; + ByteString aProduct; + ByteString aCommand; + ByteString aPath; + ByteString aPrePath; + ByteString aPreFix; + ByteString aCommandPara; + ByteString aComment; + ByteString sClientRestriction; + SByteStringList *pDepList; + USHORT nOSType; + USHORT nCommand; + + ULONG nDepth; // Tiefe der Abhaenigkeit + +public: + CommandData(); + ~CommandData(); + ByteString GetProjectName(){return aPrj;} + void SetProjectName( ByteString aName ){aPrj = aName;} + ByteString GetLogFile(){return aLogFileName;} + void SetLogFile( ByteString aName ){aLogFileName = aName;} + ByteString GetInpath(){return aInpath;} + void SetInpath( ByteString aName ){aInpath = aName;} + ByteString GetUpd(){return aUpd;} + void SetUpd( ByteString aName ){aUpd = aName;} + ByteString GetUpdMinor(){return aUpdMinor;} + void SetUpdMinor( ByteString aName ){aUpdMinor = aName;} + ByteString GetProduct(){return aProduct;} + void SetProduct( ByteString aName ){aProduct = aName;} + ByteString GetCommand(){return aCommand;} + void SetCommand ( ByteString aName ){aCommand = aName;} + ByteString GetCommandPara(){return aCommandPara;} + void SetCommandPara ( ByteString aName ){aCommandPara = aName;} + ByteString GetComment(){return aComment;} + void SetComment ( ByteString aCommentString ){aComment = aCommentString;} + ByteString GetPath(){return aPath;} + void SetPath( ByteString aName ){aPath = aName;} + ByteString GetPrePath(){return aPrePath;} + void SetPrePath( ByteString aName ){aPrePath = aName;} + USHORT GetOSType(){return nOSType;} + ByteString GetOSTypeString(); + void SetOSType( USHORT nType ){nOSType = nType;} + USHORT GetCommandType(){return nCommand;} + ByteString GetCommandTypeString(); + void SetCommandType( USHORT nCommandType ){nCommand = nCommandType;} + SByteStringList* GetDependencies(){return pDepList;} + void SetDependencies( SByteStringList *pList ){pDepList = pList;} + ByteString GetClientRestriction() { return sClientRestriction; } + void SetClientRestriction( ByteString sRestriction ) { sClientRestriction = sRestriction; } + + void AddDepth(){nDepth++;} + ULONG GetDepth(){return nDepth;} + + CommandData& operator<< ( SvStream& rStream ); + CommandData& operator>> ( SvStream& rStream ); +}; + +/********************************************************************* +* +* Die Klasse SimpleConfig kann benutzt werden, um aus einer Textdatei +* alle Tokens zu lesen +* +*********************************************************************/ + +class SimpleConfig +{ + long nLine; + String aFileName; + SvFileStream aFileStream; + ByteString aTmpStr; + ByteString aStringBuffer; + + ByteString GetNextLine(); +public: + SimpleConfig(String aSimpleConfigFileName); + SimpleConfig(DirEntry& rDirEntry); + ~SimpleConfig(); + ByteString GetNext(); + ByteString GetCleanedNextLine( BOOL bReadComments = FALSE ); +}; + +#define ENV_GUI 0x00000000 +#define ENV_OS 0x00000001 +#define ENV_UPD 0x00000002 +#define ENV_UPDMIN 0x00000004 +#define ENV_INPATH 0x00000008 +#define ENV_OUTPATH 0x00000010 +#define ENV_GUIBASE 0x00000020 +#define ENV_CVER 0x00000040 +#define ENV_GVER 0x00000080 +#define ENV_GUIENV 0x00000100 +#define ENV_CPU 0x00000200 +#define ENV_CPUNAME 0x00000400 +#define ENV_DLLSUFF 0x00000800 +#define ENV_COMEX 0x00001000 +#define ENV_COMPATH 0x00002000 +#define ENV_INCLUDE 0x00004000 +#define ENV_LIB 0x00008000 +#define ENV_PATH 0x00010000 +#define ENV_SOLVER 0x00020000 +#define ENV_SOLENV 0x00040000 +#define ENV_SOLROOT 0x00080000 +#define ENV_DEVROOT 0x00100000 +#define ENV_EMERG 0x00200000 +#define ENV_STAND 0x00400000 + +DECL_DEST_LIST ( PrjList_tmp, PrjList, CommandData * ) + +/********************************************************************* +* +* class DepInfo +* Struct mit Modeinfos +* +*********************************************************************/ + +class DepInfo +{ + private: + ByteString* pProject; + SByteStringList* pModeList; + BOOL bAllModes; + + void RemoveProject (); + void RemoveModeList (); + public: + DepInfo() : pProject(0), pModeList(0), bAllModes(FALSE) {} + DepInfo(ByteString* pString) : pProject(0), pModeList(0), bAllModes(FALSE) {pProject = pString;} + DepInfo(ByteString* pString, SByteStringList* pList) : pProject(0), pModeList(0), bAllModes(FALSE) {pProject = pString; pModeList = pList;} + ~DepInfo(); + + void SetProject (ByteString* pStr); + ByteString* GetProject() {return pProject;} + void PutModeString (ByteString* pStr); + SByteStringList* GetModeList() {return pModeList;} + void SetModeList (SByteStringList* pList) {pModeList = pList;} + BOOL IsAllModes() {return bAllModes;} + void SetAllModes(BOOL bModes=TRUE) {bAllModes = bModes;} + + DepInfo& operator<< ( SvStream& rStream ); + DepInfo& operator>> ( SvStream& rStream ); +}; + +DECLARE_LIST( DepInfoList, DepInfo* ) + +/********************************************************************* +* +* class SDepInfoList +* Struct mit Modeinfos + Listen Methoden +* +*********************************************************************/ + +class SDepInfoList : public DepInfoList +{ + SByteStringList* pAllModeList; // only pointer to strings + + public: + SDepInfoList(); + ~SDepInfoList(); + + // neuen ByteString in Liste einfuegen + ULONG PutString( ByteString*, ByteString*); + ULONG PutString( ByteString*); + void PutModeString( DepInfo* pInfoList, ByteString* pStr ); + + ByteString* RemoveString( const ByteString& rName ); + + // Position des ByteString in Liste, wenn nicht enthalten, dann + // return = NOT_THERE + ULONG IsString( ByteString* ); + + // Vorgaenger ermitteln ( auch wenn selbst noch nicht in + // Liste enthalten + ULONG GetPrevString( ByteString* ); + SByteStringList* GetAllDepModes(); + + SDepInfoList& operator<< ( SvStream& rStream ); + SDepInfoList& operator>> ( SvStream& rStream ); +}; + + +/********************************************************************* +* +* class Prj +* alle Daten eines Projektes werden hier gehalten +* +*********************************************************************/ + +class Star; +class Prj : public PrjList +{ +friend class Star; +private: + BOOL bVisited; + + ByteString aPrjPath; + ByteString aProjectName; + ByteString aProjectPrefix; // max. 2-buchstabige Abk. + SByteStringList* pPrjInitialDepList; + SByteStringList* pPrjDepList; + SDepInfoList* pPrjDepInfoList; + BOOL bHardDependencies; + BOOL bFixedDependencies; + BOOL bSorted; + BOOL bIsAvailable; + SByteStringList* RemoveStringList(SByteStringList* pStringList ); + SDepInfoList* RemoveDepInfoList(SDepInfoList* pInfoList ); +public: + Prj(); + Prj( ByteString aName ); + ~Prj(); + void SetPreFix( ByteString aPre ){aProjectPrefix = aPre;} + ByteString GetPreFix(){return aProjectPrefix;} + ByteString GetProjectName() + {return aProjectName;} + void SetProjectName(ByteString aName) + {aProjectName = aName;} + BOOL InsertDirectory( ByteString aDirName , USHORT aWhat, + USHORT aWhatOS, ByteString aLogFileName, + const ByteString &rClientRestriction ); + CommandData* RemoveDirectory( ByteString aLogFileName ); + CommandData* GetDirectoryList ( USHORT nWhatOs, USHORT nCommand ); + CommandData* GetDirectoryData( ByteString aLogFileName ); + inline CommandData* GetData( ByteString aLogFileName ) + { return GetDirectoryData( aLogFileName ); }; + + SByteStringList* GetDependencies( BOOL bExpanded = TRUE ); + SDepInfoList* GetModeAndDependencies() {return pPrjDepInfoList;} + void AddDependencies( ByteString aStr ); + void AddDependencies( ByteString aStr, ByteString aModeStr ); + void SetMode(SByteStringList* pModeList); + void HasHardDependencies( BOOL bHard ) { bHardDependencies = bHard; } + BOOL HasHardDependencies() { return bHardDependencies; } + void HasFixedDependencies( BOOL bFixed ) { bFixedDependencies = bFixed; } + BOOL HasFixedDependencies() { return bFixedDependencies; } + + BOOL IsAvailable() { return bIsAvailable; } + void IsAvailable( BOOL bAvailable ) { bIsAvailable=bAvailable; } + + void ExtractDependencies(); + + Prj& operator<< ( SvStream& rStream ); + Prj& operator>> ( SvStream& rStream ); +}; + +/********************************************************************* +* +* class Star +* Diese Klasse liest die Projectstruktur aller StarDivision Projekte +* aus \\dev\data1\upenv\data\config\solar.lst aus +* +*********************************************************************/ + +DECL_DEST_LIST ( StarList_tmp, StarList, Prj* ) +DECLARE_LIST ( SolarFileList, String* ) + +class StarFile +{ +private: + String aFileName; + Date aDate; + Time aTime; + Date aDateCreated; + Time aTimeCreated; + + BOOL bExists; + +public: + StarFile( const String &rFile ); + const String &GetName() { return aFileName; } + Date GetDate() { return aDate; } + Time GetTime() { return aTime; } + + BOOL NeedsUpdate(); + BOOL Exists() { return bExists; } +}; + +DECLARE_LIST( StarFileList, StarFile * ) + +#define STAR_MODE_SINGLE_PARSE 0x0000 +#define STAR_MODE_RECURSIVE_PARSE 0x0001 +#define STAR_MODE_MULTIPLE_PARSE 0x0002 + +class Star : public StarList +{ +private: + Link aDBNotFoundHdl; + ByteString aStarName; // no idee what this should be + +protected: + NAMESPACE_VOS( OMutex ) aMutex; + + USHORT nStarMode; + SolarFileList aFileList; + StarFileList aLoadedFilesList; + String sSourceRoot; + String sFileName; + SByteStringList* pDepMode; + SByteStringList* pAllDepMode; + XmlBuildList* mpXmlBuildList; + + Link aFileIOErrorHdl; // called with &String as parameter!!! + + void InsertSolarList( String sProject ); + String CreateFileName( String sProject ); + + void Expand_Impl(); + void ExpandPrj_Impl( Prj *pPrj, Prj *pDepPrj ); + ULONG SearchFileEntry( StarFileList *pStarFiles, StarFile* pFile ); + +public: + Star( XmlBuildList* pXmlBuildListObj ); + Star( XmlBuildList* pXmlBuildListObj, String aFileName, USHORT nMode = STAR_MODE_SINGLE_PARSE ); + Star( XmlBuildList* pXmlBuildListObj, SolarFileList *pSolarFiles ); + Star( XmlBuildList* pXmlBuildListObj, GenericInformationList *pStandLst, ByteString &rVersion, BOOL bLocal = FALSE, + const char *pSourceRoot = NULL ); + + ~Star(); + + void SetDBNotFoundHdl( const Link &rLink ) { aDBNotFoundHdl = rLink; } + void SetFileIOErrorHdl( const Link &rLink ) { aFileIOErrorHdl = rLink; } + + ByteString GetName(){ return aStarName; }; // dummy function of VG + void Read( String &rFileName ); + void Read( SolarFileList *pSOlarFiles ); + void ReadXmlBuildList(const ByteString& sBuildLstPath); + + + BOOL HasProject( ByteString aProjectName ); + Prj* GetPrj( ByteString aProjectName ); + ByteString GetPrjName( DirEntry &rPath ); + BOOL RemovePrj ( Prj* pPrj ); + void RemoveAllPrj (); + + void InsertToken( char *pChar ); + BOOL NeedsUpdate(); + SolarFileList* NeedsFilesForUpdate(); + void ReplaceFileEntry( StarFileList *pStarFiles, StarFile* pFile ); + void UpdateFileList( GenericInformationList *pStandLst, ByteString &rVersion, BOOL bRead = FALSE, + BOOL bLocal = FALSE, const char *pSourceRoot = NULL ); + void GenerateFileLoadList( SolarFileList *pSolarFiles ); + BOOL CheckFileLoadList(SolarFileList *pSolarFiles); + + USHORT GetMode() { return nStarMode; } + String GetFileName(){ return sFileName; }; + String GetSourceRoot(){ return sSourceRoot; }; + SByteStringList* GetAvailableDeps (); + void ClearAvailableDeps (); + SByteStringList* GetCurrentDeps () {return pDepMode;} + void SetCurrentDeps (SByteStringList* pDepList); + void ClearCurrentDeps (); + + int GetOSType ( ByteString& aWhatOS ); + int GetJobType ( ByteString& JobType ); + + void ClearLoadedFilesList (); + + void PutPrjIntoStream (SByteStringList* pPrjNameList, SvStream* pStream); + Star& operator<< ( SvStream& rStream ); + Star& operator>> ( SvStream& rStream ); +}; + +class StarWriter : public Star +{ +private: + USHORT WritePrj( Prj *pPrj, SvFileStream& rStream ); + +public: + StarWriter( XmlBuildList* pXmlBuildListObj, String aFileName, BOOL bReadComments = FALSE, USHORT nMode = STAR_MODE_SINGLE_PARSE ); + StarWriter( XmlBuildList* pXmlBuildListObj, SolarFileList *pSolarFiles, BOOL bReadComments = FALSE ); + StarWriter( XmlBuildList* pXmlBuildListObj, GenericInformationList *pStandLst, ByteString &rVersion, ByteString &rMinor, + BOOL bReadComments = FALSE, BOOL bLocal = FALSE, const char *pSourceRoot = NULL ); + + void CleanUp(); + + BOOL InsertProject ( Prj* pNewPrj ); + Prj* RemoveProject ( ByteString aProjectName ); + + USHORT Read( String aFileName, BOOL bReadComments = FALSE, USHORT nMode = STAR_MODE_SINGLE_PARSE ); + USHORT Read( SolarFileList *pSolarFiles, BOOL bReadComments = FALSE ); + USHORT Write( String aFileName ); + USHORT WriteMultiple( String rSourceRoot ); + + void InsertTokenLine( ByteString& rString ); +}; + +#endif diff --git a/soldep/inc/soldep/soldep.hxx b/soldep/inc/soldep/soldep.hxx new file mode 100644 index 000000000000..2f6f7bdab540 --- /dev/null +++ b/soldep/inc/soldep/soldep.hxx @@ -0,0 +1,110 @@ +/************************************************************************* +#* +#* $Workfile:$ +#* +#* class Klassenname(n) +#* +#* Implementation SOURCE.CXX (nur bei HXX-Files) +#* +#* Beschreibung DOKUNAME.DOC oder +#* Beschreibung des Moduls +#* +#* Ersterstellung XX TT.MM.JJ +#* Letzte Aenderung $Author: vg $ $Date: 2007-04-11 21:39:34 $ +#* $Revision: 1.2 $ +#* +#* $Logfile:$ +#* +#* Copyright (c) 1989 - 1996, STAR DIVISION +#* +#*************************************************************************/ + +#ifndef _FMRWRK_SOLDEP_HXX +#define _FMRWRK_SOLDEP_HXX + +#define SOURCEROOT "SOLARSRC" + +#include <tools/string.hxx> + +#include <soldep/depper.hxx> + +#define SOURCEROOT "SOLARSRC" + +class ObjectWin; + +class SolDep : public Depper +{ + BOOL mbBServer; //call from build server + ULONG mnMinDynXOffs; + ULONG mnLevelOffset; + ULONG mnXOffset; + ObjWinList* mpTravellerList; + + String msSourceName; + ByteString msVersionMajor; + ByteString msVersionMinor; + ByteString msProject; + ObjectWin* mpFocusWin; + BOOL mbIsHide; + XmlBuildList* mpXmlBuildList; + + GenericInformationList *mpStandLst; + + DECL_LINK( ChildWindowEventListener, VclSimpleEvent* ); + DECL_LINK( ToolSelect, SoldepToolBox* ); + + SolarFileList* GetPrjListFromDir(); + + Point CalcPos( USHORT nSet, USHORT nIndex ); + ULONG CalcXOffset( ULONG nObjectsToFit ); + double CalcDistSum( ObjWinList* pObjList, DistType eDistType = TOPDOWN ); + USHORT Impl_Traveller( ObjectWin* pWin, USHORT nDepth ); + double Impl_PermuteMin( ObjWinList& rObjList, Point* pPosArray, ObjWinList& rResultList, + double dMinDist, ULONG nStart, ULONG nSize, DistType eDisType = TOPDOWN ); + USHORT Load( const ByteString& rFileName ); + void WriteToErrorFile(); + BOOL MarkObjects( ObjectWin* pObjectWin ); + void InitContextMenueMainWnd(); + void InitContextMenuePrjViewWnd(DepWin* pWin); +protected: + /// will be called for any VclWindowEvent events broadcasted by our VCL window + virtual void ProcessChildWindowEvent( const VclWindowEvent& _rVclWindowEvent ); + inline bool isAlive() const { return NULL != mpProcessWin; } + + +public: + SolDep( Window* pBaseWindow ); + ~SolDep(); + BOOL IsHideMode() { return mbIsHide;}; + void ToggleHideDependency(); + + virtual ULONG GetStart(SolIdMapper* pIdMapper, ObjectList* pObjList); + ULONG GetStartPrj(SolIdMapper* pIdMapper, ObjectList* pObjList); + virtual USHORT ReadSource( BOOL bUpdater = FALSE ); + virtual USHORT WriteSource(); + virtual USHORT OpenSource(); + BOOL GetVersion(); + void Init(); + void Init( ByteString &rVersion, GenericInformationList *pVersionList = NULL ); + BOOL InitPrj( ByteString& rListName ); + virtual ULONG AddObject( ByteString& rBodyText, BOOL Interact=TRUE ); + ULONG AddPrjObject( ByteString& rBodyText, BOOL Interact=TRUE ); + virtual ObjectWin* RemoveObject( USHORT nId, BOOL bDelete = TRUE ); + virtual void RemoveAllObjects( ObjectList* pObjLst ); + virtual USHORT AddConnector( ObjectWin* pStartWin, ObjectWin* pEndWin ); + USHORT AddConnectorPrjView( ObjectWin* pStartWin, ObjectWin* pEndWin ); + virtual USHORT RemoveConnector( ObjectWin* pStartWin, ObjectWin* pEndWin ); + USHORT RemoveConnectorPrjView( ObjectWin* pStartWin, ObjectWin* pEndWin ); + USHORT AutoArrange( SolIdMapper* pIdMapper, ObjectList* pObjLst, ULONG nTopId, ULONG nBottmId, ULONG aObjID ); + USHORT OptimizePos( SolIdMapper* pIdMapper, ObjectList* pObjLst, ULONG nTopId, ULONG nBottmId, ULONG aObjID ); + virtual BOOL ViewContent( ByteString& rObjectName ); + virtual USHORT CloseWindow(); + virtual void ShowHelp(); + FloatingWindow* GetTaskBarFrame() { return &maTaskBarFrame; } + SoldepToolBox* GetSoldepToolBox() { return &maToolBox; } + + BOOL FindProject(); + void Resize(); +}; + +#endif diff --git a/soldep/inc/soldep/soldlg.hrc b/soldep/inc/soldep/soldlg.hrc new file mode 100644 index 000000000000..55d6989eddae --- /dev/null +++ b/soldep/inc/soldep/soldlg.hrc @@ -0,0 +1,86 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: soldlg.hrc,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: vg $ $Date: 2007-04-11 21:39:44 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + ************************************************************************/ +#define SOLDEPL_START 1000 + +#define BTN_OK (SOLDEPL_START+1) +#define BTN_CANCEL (SOLDEPL_START+2) + +#define FT_PRJNAME (SOLDEPL_START+3) +#define EDIT_PRJNAME (SOLDEPL_START+4) +#define FT_PRJSHORT (SOLDEPL_START+5) +#define EDIT_PRJSHORT (SOLDEPL_START+6) +#define FT_PRJDEPS (SOLDEPL_START+7) +#define EDIT_PRJDEPS (SOLDEPL_START+8) + + +#define FT_DIRNAME (SOLDEPL_START+9) +#define EDIT_DIRNAME (SOLDEPL_START+10) +#define FT_DIRFLAG (SOLDEPL_START+11) +#define EDIT_DIRFLAG (SOLDEPL_START+12) +#define FT_DIRDEPS (SOLDEPL_START+13) +#define EDIT_DIRDEPS (SOLDEPL_START+14) +#define FT_DIRACTION (SOLDEPL_START+15) +#define EDIT_DIRACTION (SOLDEPL_START+16) +#define FT_DIRENV (SOLDEPL_START+17) +#define EDIT_DIRENV (SOLDEPL_START+18) + +#define EDIT_HELP (SOLDEPL_START+19) + +#define DLG_VERSIONSELECT (SOLDEPL_START+20) +#define DLG_VERSIONSELECT_LISTBOX (SOLDEPL_START+21) +#define DLG_VERSIONSELECT_GROUP (SOLDEPL_START+22) +#define DLG_VERSIONSELECT_OK (SOLDEPL_START+23) +#define DLG_VERSIONSELECT_CANCEL (SOLDEPL_START+24) +#define DLG_MINORSELECT_EDIT (SOLDEPL_START+33) +#define DLG_MINORSELECT_GROUP (SOLDEPL_START+34) +#define DLG_AUTOARRANGE (SOLDEPL_START+25) +#define DLG_AUTOARRANGE_GROUP (SOLDEPL_START+26) +#define DLG_AUTOARRANGE_TEXT_MODULE (SOLDEPL_START+27) +#define DLG_AUTOARRANGE_TEXT_OVERALL (SOLDEPL_START+28) + +#define DLG_FIND_PROJECT (SOLDEPL_START+29) +#define DLG_FIND_PROJECT_OK (SOLDEPL_START+30) +#define DLG_FIND_PROJECT_CANCEL (SOLDEPL_START+31) +#define DLG_FIND_PROJECT_COMBOBOX (SOLDEPL_START+32) + +#define TID_SOLDEP_MAIN (SOLDEPL_START+20000) +#define TID_SOLDEP_OPEN (TID_SOLDEP_MAIN+1) +#define TID_SOLDEP_SAVE (TID_SOLDEP_MAIN+2) +#define TID_SOLDEP_FIND (TID_SOLDEP_MAIN+3) +#define TID_SOLDEP_HIDE_INDEPENDEND (TID_SOLDEP_MAIN+4) +#define TID_SOLDEP_SELECT_WORKSPACE (TID_SOLDEP_MAIN+5) +#define TID_SOLDEP_BACK (TID_SOLDEP_MAIN+6) +#define TID_SMALL_PIN_PINED (TID_SOLDEP_MAIN+100) +#define TID_SMALL_PIN_UNPINED (TID_SOLDEP_MAIN+101) |