1 /*************************************<+>************************************* 2 ***************************************************************************** 3 ** 4 ** File: BBoardP.h 5 ** 6 ** Project: X Widgets 7 ** 8 ** Description: Private include file for widgets which are 9 ** subclasses of bulletin board or which 10 ** need to access directly the instance/class 11 ** fields of the bulletin board widget. 12 ** 13 ***************************************************************************** 14 ** 15 ** Copyright (c) 1988 by Hewlett-Packard Company 16 ** Copyright (c) 1988 by the Massachusetts Institute of Technology 17 ** 18 ** Permission to use, copy, modify, and distribute this software 19 ** and its documentation for any purpose and without fee is hereby 20 ** granted, provided that the above copyright notice appear in all 21 ** copies and that both that copyright notice and this permission 22 ** notice appear in supporting documentation, and that the names of 23 ** Hewlett-Packard or M.I.T. not be used in advertising or publicity 24 ** pertaining to distribution of the software without specific, written 25 ** prior permission. 26 ** 27 ***************************************************************************** 28 *************************************<+>*************************************/ 29 30 /*********************************************************************** 31 * 32 * BulletinBoard Widget Private Data 33 * 34 ***********************************************************************/ 35 36 /* New fields for the BulletinBoard widget class record */ 37 typedef struct { 38 int mumble; /* No new procedures */ 39 } XwBulletinClassPart; 40 41 /* Full class record declaration */ 42 typedef struct _XwBulletinClassRec { 43 CoreClassPart core_class; 44 CompositeClassPart composite_class; 45 ConstraintClassPart constraint_class; 46 XwManagerClassPart manager_class; 47 XwBulletinClassPart bulletin_board_class; 48 } XwBulletinClassRec; 49 50 extern XwBulletinClassRec XwbulletinClassRec; 51 52 /* New fields for the Bulletin widget record */ 53 typedef struct { 54 int mumble; /* No new fields */ 55 } XwBulletinPart; 56 57 58 /**************************************************************** 59 * 60 * Full instance record declaration 61 * 62 ****************************************************************/ 63 64 typedef struct _XwBulletinRec { 65 CorePart core; 66 CompositePart composite; 67 ConstraintPart constraint; 68 XwManagerPart manager; 69 XwBulletinPart bulletin_board; 70 } XwBulletinRec; 71 72