0
|
1 /* Copyright (C) 1995 Free Software Foundation, Inc.
|
|
2 Copyright (C) 1993-1995 Sun Microsystems, Inc.
|
|
3 Copyright (C) 1995 Ben Wing.
|
|
4
|
|
5 This file is part of XEmacs.
|
|
6
|
|
7 XEmacs is free software; you can redistribute it and/or modify it
|
|
8 under the terms of the GNU General Public License as published by the
|
|
9 Free Software Foundation; either version 2, or (at your option) any
|
|
10 later version.
|
|
11
|
|
12 XEmacs is distributed in the hope that it will be useful, but WITHOUT
|
|
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
15 for more details.
|
|
16
|
|
17 You should have received a copy of the GNU General Public License
|
|
18 along with XEmacs; see the file COPYING. If not, write to
|
|
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
20 Boston, MA 02111-1307, USA. */
|
|
21
|
|
22 /* Synched up with: Not in FSF. */
|
|
23
|
|
24 /* Written by Ben Wing. */
|
|
25
|
412
|
26 #ifndef _EmacsManagerP_h
|
|
27 #define _EmacsManagerP_h
|
0
|
28
|
|
29
|
|
30 #include "xintrinsicp.h"
|
|
31 #ifdef LWLIB_USES_MOTIF
|
|
32 #include "xmmanagerp.h"
|
|
33 #endif
|
|
34 #include "EmacsManager.h"
|
|
35
|
|
36 typedef struct { /* new fields for EmacsManager class */
|
|
37 int dummy;
|
|
38 } EmacsManagerClassPart;
|
|
39
|
|
40 typedef struct _EmacsManagerClassRec { /* full class record declaration */
|
|
41 CoreClassPart core_class;
|
|
42 CompositeClassPart composite_class;
|
|
43 #ifdef LWLIB_USES_MOTIF
|
|
44 ConstraintClassPart constraint_class;
|
|
45 XmManagerClassPart manager_class;
|
|
46 #endif
|
|
47 EmacsManagerClassPart emacs_manager_class;
|
|
48 } EmacsManagerClassRec;
|
|
49
|
|
50 typedef struct { /* new fields for EmacsManager widget */
|
|
51 XtCallbackList resize_callback;
|
|
52 XtCallbackList query_geometry_callback;
|
|
53 XtPointer user_data;
|
|
54 } EmacsManagerPart;
|
|
55
|
|
56 typedef struct _EmacsManagerRec { /* full instance record */
|
|
57 CorePart core;
|
|
58 CompositePart composite;
|
|
59 #ifdef LWLIB_USES_MOTIF
|
|
60 ConstraintPart constraint;
|
|
61 XmManagerPart manager;
|
|
62 #endif
|
|
63 EmacsManagerPart emacs_manager;
|
|
64 } EmacsManagerRec;
|
|
65
|
|
66 extern EmacsManagerClassRec emacsManagerClassRec; /* class pointer */
|
|
67
|
412
|
68 #endif /* _EmacsManagerP_h */
|