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 /* 25 * HISTORY 26 */ 27 /* $XConsortium: MapEventsI.h /main/5 1995/07/13 17:35:36 drk $ */ 28 #ifndef _XmMapEventsI_h 29 #define _XmMapEventsI_h 30 31 #include <Xm/XmP.h> 32 33 #ifdef __cplusplus 34 extern "C" { 35 #endif 36 37 /******** Private Function Declarations for MapEvents.c ********/ 38 39 extern Boolean _XmMapBtnEvent( 40 register String str, 41 int *eventType, 42 unsigned int *button, 43 Modifiers *modifiers) ; 44 extern int _XmMapKeyEvents( 45 register String str, 46 int **eventType, 47 KeySym **keysym, 48 Modifiers **modifiers) ; 49 extern Boolean _XmMatchBtnEvent( 50 XEvent *event, 51 int eventType, 52 unsigned int button, 53 Modifiers modifiers) ; 54 extern Boolean _XmMatchKeyEvent( 55 XEvent *event, 56 int eventType, 57 unsigned int key, 58 Modifiers modifiers) ; 59 60 /******** End Private Function Declarations ********/ 61 62 #ifdef __cplusplus 63 } /* Close scope of 'extern "C"' declaration which encloses file. */ 64 #endif 65 66 #endif /* _XmMapEventsI_h */ 67 /* DON'T ADD ANYTHING AFTER THIS #endif */ 68