]> SALOME platform Git repositories - modules/superv.git/blob - doc/salome/gui/SUPERV/whdata/whtoc.js
Salome HOME
145605087d8416bf13814811a80bac4cdb5e88c7
[modules/superv.git] / doc / salome / gui / SUPERV / whdata / whtoc.js
1 // const strings\r
2 var gaProj = new Array();\r
3 var gsRoot = "";\r
4 \r
5 function setRoot(sRoot)\r
6 {\r
7         gsRoot = sRoot\r
8 }\r
9 \r
10 function aPE(sProjPath, sRootPath)\r
11 {\r
12         gaProj[gaProj.length] = new tocProjEntry(sProjPath, sRootPath);\r
13 }\r
14 \r
15 function tocProjEntry(sProjPath, sRootPath) \r
16 {\r
17         this.sPPath = sProjPath;\r
18         this.sRPath = sRootPath;\r
19 }\r
20 \r
21 \r
22 function window_OnLoad()\r
23 {\r
24         if (parent && parent != this && parent.projReady) {\r
25                 parent.projReady(gsRoot, gaProj);\r
26         }\r
27 }\r
28 window.onload = window_OnLoad;