749N/A * Copyright 1989 Massachusetts Institute of Technology 749N/A * Permission to use, copy, modify, and distribute this software and its 749N/A * documentation for any purpose and without fee is hereby granted, provided 749N/A * that the above copyright notice appear in all copies and that both that 749N/A * copyright notice and this permission notice appear in supporting 749N/A * documentation, and that the name of M.I.T. not be used in advertising or 749N/A * publicity pertaining to distribution of the software without specific, 749N/A * written prior permission. M.I.T. makes no representations about the 749N/A * suitability of this software for any purpose. It is provided "as is" 749N/A * without express or implied warranty. 749N/A * This is the public header file for the Ascii Text Source. 749N/A * It is intended to be used with the Text widget, the simplest way to use 749N/A * this text source is to use the AsciiText Object. 749N/A * By: Chris D. Peterson 749N/A Name Class RepType Default Value 749N/A ---- ----- ------- ------------- 749N/A/* Class record constants */ 749N/A * Just to make people's lives a bit easier. 749N/A * Resource Definitions. 749N/A/************************************************************ 749N/A ************************************************************/ 749N/A/* Function Name: XawAsciiSourceFreeString 749N/A * Description: Frees the string returned by a get values call 749N/A * on the string when the source is of type string. 749N/A * Arguments: w - the AsciiSrc object. 749N/A/* Function Name: XawAsciiSave 749N/A * Description: Saves all the pieces into a file or string as required. 749N/A * Arguments: w - the asciiSrc Object. 749N/A * Returns: TRUE if the save was successful. 749N/A/* Function Name: XawAsciiSaveAsFile 749N/A * Description: Save the current buffer as a file. 749N/A * Arguments: w - the asciiSrc object. 749N/A * name - name of the file to save this file into. 749N/A * Returns: True if the save was sucessful. 749N/A/* Function Name: XawAsciiSourceChanged 749N/A * Description: Returns true if the source has changed since last saved. 749N/A * Arguments: w - the asciiSource object. 749N/A * Returns: a Boolean (see description). 749N/A/************************************************************* 749N/A * These functions are only preserved for compatability. 749N/A/* Function Name: AsciiStringSourceCreate 749N/A * Description: Creates a string source. 749N/A * Arguments: parent - the widget that will own this source. 749N/A * args, num_args - the argument list. 749N/A * Returns: a pointer to the new text source. 749N/A#
endif /* ASCII_STRING */ 749N/A/* Function Name: AsciiDiskSourceCreate 749N/A * Description: Creates a disk source. 749N/A * Arguments: parent - the widget that will own this source. 749N/A * args, num_args - the argument list. 749N/A * Returns: a pointer to the new text source. 749N/A * End of Compatability stuff. 749N/A ***************************************************/ 749N/A#
endif /* _XawAsciiSrc_h - Don't add anything after this line. */