12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- /*
- * CDE - Common Desktop Environment
- *
- * Copyright (c) 1993-2012, The Open Group. All rights reserved.
- *
- * These libraries and programs are free software; you can
- * redistribute them and/or modify them under the terms of the GNU
- * Lesser General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option)
- * any later version.
- *
- * These libraries and programs are distributed in the hope that
- * they will be useful, but WITHOUT ANY WARRANTY; without even the
- * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- * PURPOSE. See the GNU Lesser General Public License for more
- * details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with these libraries and programs; if not, write
- * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
- * Floor, Boston, MA 02110-1301 USA
- */
- /* $XConsortium: OpenFile.h /main/4 1995/11/01 16:08:37 rswiston $ */
- /******************************************************************************
- OpenFile.h
- This header file is included by OpenFile.c
- ******************************************************************************/
- #ifndef _OPENFILE_H_INCLUDED
- #define _OPENFILE_H_INCLUDED
- #include <stdio.h>
- #include <Xm/Xm.h>
- #include <Xm/MwmUtil.h>
- #include <Xm/DialogS.h>
- #include <Xm/MenuShell.h>
- #include "UxXt.h"
- #include <Xm/FileSB.h>
- /******************************************************************************
- The definition of the context structure:
- If you create multiple copies of your interface, the context
- structure ensures that your callbacks use the variables for the
- correct copy.
- For each swidget in the interface, each argument to the Interface
- function, and each variable in the Interface Specific section of the
- Declarations Editor, there is an entry in the context structure.
- and a #define. The #define makes the variable name refer to the
- corresponding entry in the context structure.
- ******************************************************************************/
- typedef struct
- {
- Widget UxOpenFile;
- } _UxCOpenFile;
- #ifdef CONTEXT_MACRO_ACCESS
- static _UxCOpenFile *UxOpenFileContext;
- #define OpenFile UxOpenFileContext->UxOpenFile
- #endif /* CONTEXT_MACRO_ACCESS */
- /*******************************************************************************
- Declarations of global functions.
- *******************************************************************************/
- Widget create_OpenFile(void);
- #endif /* _OPENFILE_H_INCLUDED */
|