//TH-Header //***************************************************************************************** // Copyright (c) 2014 KURANT Project // All rights reserved. // // $FileName : cWorkspaceLibrary // $ProjectName : The Hammer 2.0 // $Authors : wil // $Created : 02.10.2014 19:58 // $Type : LGPL // // Contents: // Contains the logic for handling workspace libraries in The hammer. // The normal string value of the array is set with the .sws files of the library // loaded by the current workspace. // // //***************************************************************************************** //TH-RevisionStart //TH-RevisionEnd Use cWorkspaceHandlerBase.pkg Class cWorkspaceLibrary is a Array Procedure Construct_Object Forward send Construct_Object End_Procedure // Construct_Object // // A quick PoC for now // Function AppSrcPath Integer iItem Returns String Integer iCount Handle hoWS String sSWS String sVdfVersion String sAppSrcPath Move "" To sAppSrcPath Get Item_Count To iCount If (iItem "" ) Begin If (Right(sAppSrcPath,1)<>";") Append sAppSrcPath ";" Move (sPath+sAppSrcPath) to sPath End Loop Function_Return sPath End_Function // End_Class // cWorkspaceLibrary