2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
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)
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
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
23 /* $XConsortium: DtWidgetI.h /main/1 1996/03/26 19:53:18 drk $
25 * (c) Copyright 1996 Digital Equipment Corporation.
26 * (c) Copyright 1996 Hewlett-Packard Company.
27 * (c) Copyright 1996 International Business Machines Corp.
28 * (c) Copyright 1996 Sun Microsystems, Inc.
29 * (c) Copyright 1996 Novell, Inc.
30 * (c) Copyright 1996 FUJITSU LIMITED.
31 * (c) Copyright 1996 Hitachi.
36 #include <X11/Intrinsic.h>
38 /******** Conditionally defined macros for thread safe DtWidget ******/
41 #define _DtWidgetToAppContext(w) \
42 XtAppContext app = XtWidgetToApplicationContext(w)
44 #define _DtDisplayToAppContext(d) \
45 XtAppContext app = XtDisplayToApplicationContext(d)
47 #define _DtAppLock(app) XtAppLock(app)
48 #define _DtAppUnlock(app) XtAppUnlock(app)
49 #define _DtProcessLock() XtProcessLock()
50 #define _DtProcessUnlock() XtProcessUnlock()
54 #define _DtWidgetToAppContext(w)
55 #define _DtDisplayToAppContext(d)
56 #define _DtAppLock(app)
57 #define _DtAppUnlock(app)
58 #define _DtProcessLock()
59 #define _DtProcessUnlock()
64 } /* Close scope of 'extern "C"' declaration which encloses file. */
67 #endif /* _DtWidgetI_h */
68 /* DON'T ADD ANYTHING AFTER THIS #endif */