0033378: Configuration - Moving ExpToCas into separate module
[occt.git] / src / OS / DataExchange.tcl
1 # Copyright (c) 1999-2014 OPEN CASCADE SAS
2 #
3 # This file is part of Open CASCADE Technology software library.
4 #
5 # This library is free software; you can redistribute it and/or modify it under
6 # the terms of the GNU Lesser General Public License version 2.1 as published
7 # by the Free Software Foundation, with special exception defined in the file
8 # OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9 # distribution for complete text of the license and disclaimer of any warranty.
10 #
11 # Alternatively, this file may be used under the terms of Open CASCADE
12 # commercial license or contractual agreement.
13
14 ;#
15 ;# Liste des toolkits WOK sous forme de full path
16 ;# 
17 proc DataExchange:toolkits { } {
18   return [list TKXSBase TKSTEPBase TKSTEPAttr TKSTEP209 TKSTEP TKIGES \
19                TKXCAF TKXDEIGES TKXDESTEP \
20                TKXDE TKXDECascade \
21                TKSTL TKVRML TKXmlXCAF TKBinXCAF TKRWMesh]
22 }
23
24 ;#
25 ;# Autres UDs a prendre.
26 ;#
27 proc DataExchange:ressources { } {
28     return [list  \
29             [list both r XSMessage {} ] \
30             [list both r SHMessage {} ] \
31             [list both r XSTEPResource {} ] \
32             ]
33 }
34 ;#
35 ;# retourne une liste de triplets {type <full path1> <target directory>/name}
36 ;# permet de faire : cp <full path> $CASROOT/<target directory>/name
37 ;# On peut ainsi embarquer des fichiers d'un peu partout et les dispatcher sous 
38 ;# la racine d'arrivee et ce avec un autre nom.
39 ;# rien n'empeche de CALCULER automatiquement des paths dans cette proc.
40 ;# type = source/runtime/both pour dire si le fichier va dans l'archive en question.
41 ;# une deux (ou les deux) type d'archive fabriquees. 
42 ;#
43 proc DataExchange:freefiles { } {
44     return {}
45 }
46 ;#
47 ;# Nom du module 
48 ;#
49 proc DataExchange:name { } {
50     return DataExchange
51 }
52 proc DataExchange:alias { } {
53     return DXE
54 }
55 proc DataExchange:depends { } {
56     return [list ApplicationFramework]
57 }
58
59 ;#
60 ;# Returns a list of exported features.
61 ;#
62 proc DataExchange:Export { } {
63     return [list source runtime wokadm api]
64 }