appletsystem.c

Go to the documentation of this file.
00001 
00002 /*  $Id: appletsystem.c 355 2005-01-11 22:48:55Z andreradke $    */
00003 
00004 /* copyright 1991-96 UserLand Software, Inc. All Rights Reserved.*/
00005 
00006 
00007 #include "appletmemory.h"
00008 #include "appletstrings.h"
00009 #include "appletsystem.h"
00010 
00011 
00012 boolean getsystemname (bigstring systemname) {
00013     
00014     StringHandle h;
00015     
00016     h = GetString (-16413);
00017     
00018     if (ResError () != noErr)
00019         return (false);
00020         
00021     copyheapstring (h, systemname);
00022     
00023     if (stringlength (systemname) == 0)
00024         copystring ("\pUntitled System", systemname);
00025     
00026     return (true);
00027     } /*getsystemname*/

Generated on Wed May 31 18:19:44 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6