| 1 |
|
| 2 |
/*******************************************************************************
|
| 3 |
securityForm.h
|
| 4 |
This header file is included by securityForm.c
|
| 5 |
|
| 6 |
*******************************************************************************/
|
| 7 |
|
| 8 |
#ifndef _SECURITYFORM_INCLUDED
|
| 9 |
#define _SECURITYFORM_INCLUDED
|
| 10 |
|
| 11 |
|
| 12 |
#include <stdio.h>
|
| 13 |
#include <Xm/Xm.h>
|
| 14 |
#include <Xm/MwmUtil.h>
|
| 15 |
#include <X11/Shell.h>
|
| 16 |
#include <Xm/MenuShell.h>
|
| 17 |
#include "UxXt.h"
|
| 18 |
|
| 19 |
#include <Xm/List.h>
|
| 20 |
#include <Xm/ScrolledW.h>
|
| 21 |
#include <Xm/Frame.h>
|
| 22 |
#include <Xm/PushB.h>
|
| 23 |
#include <Xm/TextF.h>
|
| 24 |
#include <Xm/Label.h>
|
| 25 |
#include <Xm/Form.h>
|
| 26 |
|
| 27 |
/*******************************************************************************
|
| 28 |
The definition of the context structure:
|
| 29 |
If you create multiple copies of your interface, the context
|
| 30 |
structure ensures that your callbacks use the variables for the
|
| 31 |
correct copy.
|
| 32 |
|
| 33 |
For each swidget in the interface, each argument to the Interface
|
| 34 |
function, and each variable in the Interface Specific section of the
|
| 35 |
Declarations Editor, there is an entry in the context structure.
|
| 36 |
and a #define. The #define makes the variable name refer to the
|
| 37 |
corresponding entry in the context structure.
|
| 38 |
*******************************************************************************/
|
| 39 |
|
| 40 |
typedef struct {
|
| 41 |
Widget UxsecurityForm;
|
| 42 |
Widget Uxlabel5;
|
| 43 |
Widget Uxlabel6;
|
| 44 |
Widget UxwRequestingApplicationTxt;
|
| 45 |
Widget UxwRespondingApplicationTxt;
|
| 46 |
Widget UxpushButton4;
|
| 47 |
Widget UxpushButton5;
|
| 48 |
Widget UxpushButton6;
|
| 49 |
Widget Uxframe2;
|
| 50 |
Widget UxscrolledWindowList2;
|
| 51 |
Widget UxwSecurityMatrixList;
|
| 52 |
swidget UxUxParent;
|
| 53 |
} _UxCsecurityForm;
|
| 54 |
|
| 55 |
#ifdef CONTEXT_MACRO_ACCESS
|
| 56 |
static _UxCsecurityForm *UxSecurityFormContext;
|
| 57 |
#define securityForm UxSecurityFormContext->UxsecurityForm
|
| 58 |
#define label5 UxSecurityFormContext->Uxlabel5
|
| 59 |
#define label6 UxSecurityFormContext->Uxlabel6
|
| 60 |
#define wRequestingApplicationTxt UxSecurityFormContext->UxwRequestingApplicationTxt
|
| 61 |
#define wRespondingApplicationTxt UxSecurityFormContext->UxwRespondingApplicationTxt
|
| 62 |
#define pushButton4 UxSecurityFormContext->UxpushButton4
|
| 63 |
#define pushButton5 UxSecurityFormContext->UxpushButton5
|
| 64 |
#define pushButton6 UxSecurityFormContext->UxpushButton6
|
| 65 |
#define frame2 UxSecurityFormContext->Uxframe2
|
| 66 |
#define scrolledWindowList2 UxSecurityFormContext->UxscrolledWindowList2
|
| 67 |
#define wSecurityMatrixList UxSecurityFormContext->UxwSecurityMatrixList
|
| 68 |
#define UxParent UxSecurityFormContext->UxUxParent
|
| 69 |
|
| 70 |
#endif /* CONTEXT_MACRO_ACCESS */
|
| 71 |
|
| 72 |
|
| 73 |
/*******************************************************************************
|
| 74 |
Declarations of global functions.
|
| 75 |
*******************************************************************************/
|
| 76 |
|
| 77 |
Widget create_securityForm(swidget _UxUxParent);
|
| 78 |
|
| 79 |
#endif /* _SECURITYFORM_INCLUDED */
|