home *** CD-ROM | disk | FTP | other *** search
- 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"
- }
-
-