1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
#include <Types.r>
#include <SysTypes.r>
#include "../generic/version.h"
resource 'vers' (1) {
TBL_MAJOR_VERSION, TBL_MINOR_VERSION,
final, 0x00, verUS,
TBL_VERSION,
"tkTable " TBL_VERSION " by Jeffrey Hobbs\n"
"Macintosh Port by Chuck Houpt"
};
resource 'vers' (2) {
TBL_MAJOR_VERSION, TBL_MINOR_VERSION,
final, 0x00, verUS,
TBL_VERSION,
"tkTable " TBL_VERSION " 1997-2000"
};
/*
* The -16397 string will be displayed by Finder when a user
* tries to open the shared library. The string should
* give the user a little detail about the library's capabilities
* and enough information to install the library in the correct location.
* A similar string should be placed in all shared libraries.
*/
resource 'STR ' (-16397, purgeable) {
"tkTable Library\n\n"
"This library provides the ability to create tables "
" from Tcl/Tk programs. To work properly, it "
"should be placed in the Tool Command Language folder "
"within the Extensions folder."
};
read 'TEXT' (3000, "tkTable", purgeable, preload) "tkTable.tcl";
/*
* We now load the Tk library into the resource fork of the library.
*/
data 'TEXT' (4000, "pkgIndex", purgeable, preload) {
"package ifneeded Tktable " TBL_VERSION " "
"\"package require Tk; [list load [file join $dir Tktable.shlb] Tktable]\""
};
|