home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 December
/
PCWorld_2000-12_cd.bin
/
Komunikace
/
Comanche
/
plugins
/
hostname
/
init.tcl
< prev
Wrap
Text File
|
2000-11-02
|
890b
|
30 lines
# Determine my current directory
set currentDir [file dirname [file join [pwd] [info script]]]
::mesg::processMesgCatalogDir [file join $currentDir messages]
source [file join $currentDir hostname.tcl]
proc hostname_init { args } {
array set options $args
[hostnamePlugIn ::#auto] init -namespace $options(-namespace) \
-moduledirectory $options(-moduledirectory)
}
proc hostname_init { args } {
array set options $args
[hostnamePlugIn ::#auto] init -namespace $options(-namespace) \
-moduledirectory $options(-moduledirectory)
}
proc hostname_info {} {
array set info [list description [mesg::get hostname_description]]
array set info {name {hostname}}
array set info {version {1.0}}
array set info {icon network}
return [array get info]
}