|
From: David B. <dav...@us...> - 2004-12-20 00:01:09
|
Update of /cvsroot/frontierkernel/Frontier/Common/headers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24781 Modified Files: Tag: sidewinder-branch lang.h Log Message: added code to default scripting language to the language corresponding to the signature in user.scripts.prefs.outlinesignature Andre has suggested a different way to do it, and I'll look into it, but for right now, this works. In the future, it should not be necessary for users to know what signatures correspond to what languages, perhaps some menu code will be needed. But until we have a good way to use version control with root code, this will have to wait. Index: lang.h =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/headers/lang.h,v retrieving revision 1.6.2.1 retrieving revision 1.6.2.2 diff -C2 -d -r1.6.2.1 -r1.6.2.2 *** lang.h 28 Nov 2004 00:40:19 -0000 1.6.2.1 --- lang.h 20 Dec 2004 00:00:39 -0000 1.6.2.2 *************** *** 1339,1342 **** --- 1339,1344 ---- extern boolean langsettarget (hdlhashtable htable, bigstring bsname, tyvaluerecord *prevtarget); + extern boolean langdefaultoutlinesignature (unsigned long *sig); + #endif |