1 /* 2 * Motif 3 * 4 * Copyright (c) 1987-2012, The Open Group. All rights reserved. 5 * 6 * These libraries and programs are free software; you can 7 * redistribute them and/or modify them under the terms of the GNU 8 * Lesser General Public License as published by the Free Software 9 * Foundation; either version 2 of the License, or (at your option) 10 * any later version. 11 * 12 * These libraries and programs are distributed in the hope that 13 * they will be useful, but WITHOUT ANY WARRANTY; without even the 14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 15 * PURPOSE. See the GNU Lesser General Public License for more 16 * details. 17 * 18 * You should have received a copy of the GNU Lesser General Public 19 * License along with these librararies and programs; if not, write 20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth 21 * Floor, Boston, MA 02110-1301 USA 22 * 23 */ 24 #ifndef _XmPicture_h 25 #define _XmPicture_h 26 27 #include <stdio.h> 28 #include <stdlib.h> 29 #include <ctype.h> 30 #include <X11/Intrinsic.h> 31 32 typedef struct _XmPictureRec* XmPicture; 33 typedef struct _XmPictureStateRec* XmPictureState; 34 35 #ifdef __cplusplus 36 extern "C" { 37 #endif 38 39 XmPicture XmParsePicture (char*); 40 XmPictureState XmGetNewPictureState (XmPicture); 41 char* XmPictureProcessCharacter(XmPictureState, char, Boolean*); 42 void XmPictureDelete (XmPicture); 43 void XmPictureDeleteState (XmPictureState); 44 char* XmPictureGetCurrentString(XmPictureState); 45 char* XmPictureDoAutoFill (XmPictureState); 46 47 #ifdef __cplusplus 48 } /* Close scope of 'extern "C"' declaration which encloses file. */ 49 #endif 50 51 #endif 52 /* DON'T ADD ANYTHING AFTER THIS #endif */ 53