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 libraries 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: OpenFile.h /main/4 1995/11/01 16:08:37 rswiston $ */
24 /******************************************************************************
26 This header file is included by OpenFile.c
28 ******************************************************************************/
30 #ifndef _OPENFILE_H_INCLUDED
31 #define _OPENFILE_H_INCLUDED
36 #include <Xm/MwmUtil.h>
37 #include <Xm/DialogS.h>
38 #include <Xm/MenuShell.h>
41 #include <Xm/FileSB.h>
43 /******************************************************************************
44 The definition of the context structure:
45 If you create multiple copies of your interface, the context
46 structure ensures that your callbacks use the variables for the
49 For each swidget in the interface, each argument to the Interface
50 function, and each variable in the Interface Specific section of the
51 Declarations Editor, there is an entry in the context structure.
52 and a #define. The #define makes the variable name refer to the
53 corresponding entry in the context structure.
54 ******************************************************************************/
61 #ifdef CONTEXT_MACRO_ACCESS
62 static _UxCOpenFile *UxOpenFileContext;
63 #define OpenFile UxOpenFileContext->UxOpenFile
65 #endif /* CONTEXT_MACRO_ACCESS */
68 /*******************************************************************************
69 Declarations of global functions.
70 *******************************************************************************/
73 Widget create_OpenFile(void);
76 #endif /* _OPENFILE_H_INCLUDED */