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: ca_aux.h /main/5 1995/11/01 16:10:18 rswiston $ */
24 /***************************************************************************/
26 /* Header file for ca_aux.c */
28 /***************************************************************************/
29 #ifndef _CA_AUX_H_INCLUDED
30 #define _CA_AUX_H_INCLUDED
34 #if defined(USL) || defined(__uxp__)
35 #if !defined(_DIRENT_H)
38 #if !defined(_DtIcon_h_)
43 /***************************************************************************/
47 /***************************************************************************/
51 /***************************************************************************/
55 /***************************************************************************/
57 /***************************************************************************/
59 /* Function Declarations */
61 /***************************************************************************/
63 void readCAFromGUI (struct _ActionData *ca_struct);
64 void getCAactionName (struct _ActionData *ca_struct);
65 void getCAdblClkCmd (struct _ActionData *ca_struct);
66 void getCAactionHelpText (struct _ActionData *ca_struct);
67 void getCAactionOpensText (struct _ActionData *ca_struct);
68 void getCAwindowType (struct _ActionData *ca_struct);
69 void writeCAToGUI (struct _ActionData *ca_struct);
71 void putCAactionName (struct _ActionData *ca_struct);
72 void putCAdblClkCmd (struct _ActionData *ca_struct);
73 void putCAfileTypes (struct _ActionData *ca_struct);
74 void putCAactionOpensText (struct _ActionData *ca_struct);
75 void putCAwindowType (struct _ActionData *ca_struct);
76 void putCAactionHelpText (struct _ActionData *ca_struct);
77 void putCAactionIcons (struct _ActionData *ca_struct);
78 void putCAdropFiletypes (ActionData *pAD);
80 void set_ca_dialog_height (void);
81 Widget get_selected_action_icon (void);
82 Boolean CreateActionAppShellCheckFields(void);
83 void FreeAndClearAD(ActionData *pAD);
84 void clear_CreateActionAppShell_fields(void);
85 Boolean compareAD(ActionData *pAD1, ActionData *pAD2);
86 ActionData *copyAD(ActionData *pAD);
87 void FreeResources (void);
90 /***************************************************************************/
92 /* Callbacks for Create Action 'File' menu */
94 /***************************************************************************/
96 void activateCB_FileNew (Widget wid, XtPointer cdata,
98 void activateCB_FileOpen (Widget wid, XtPointer cdata,
100 void activateCB_FileQuit (Widget wid, XtPointer cdata,
104 /***************************************************************************/
106 /* Callbacks for Create Action 'Options' menu */
108 /***************************************************************************/
110 void activateCB_ExpertOption (Widget wid, XtPointer client_data, XtPointer *cbs);
111 void valueChangedCB_ColorMonoOption (Widget, XtPointer,
112 XmToggleButtonCallbackStruct *);
113 void createCB_ColorMonoOption (Widget);
116 /***************************************************************************/
118 /* Callbacks for Create Action Panel Buttons */
120 /***************************************************************************/
122 void activateCB_action_icon (Widget wid, XtPointer client_data,
123 DtIconCallbackStruct *cbs);
124 void activateCB_add_filetype (Widget wid, XtPointer client_data,
125 XmPushButtonCallbackStruct *cbs);
126 void activateCB_edit_filetype (Widget wid, XtPointer client_data,
127 XmPushButtonCallbackStruct *cbs);
130 #endif /* _CA_AUX_H_INCLUDED */