home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
u_vcm.tcl
< prev
next >
Wrap
Text File
|
1997-11-19
|
1KB
|
41 lines
method CCSystem::vsFileUserPath {this name type} {
set vobPath [$this vsFileVSPath $name $type]
return [CCSystem::viewPath $vobPath]
}
method CCSystem::vsFileVSPath {this name type} {
set systemPath [CCSystem::vsObjectVSPath $this]
set filePath [path_name concat $systemPath [$this getFileName $name $type]]
return $filePath
}
proc CCSystem::vsObjectUserPath {object} {
set vobPath [CCSystem::vsObjectVSPath $object]
return [CCSystem::viewPath $vobPath]
}
proc CCSystem::vsObjectVSPath {object} {
if [$object isA SystemVersion] {
set vobPath [$object SystemVersion::path]
} else {
set vobPath [$object path]
}
return $vobPath
}
proc CCSystem::viewPath {vobPath} {
set view [m4_var get M4_ccase_view]
if { $view == "" } {
return $vobPath
}
if $win95 {
set viewPath [path_name concat M:\\ $view]
} else {
set viewPath [path_name concat /view $view]
}
return "$viewPath$vobPath"
}