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(_DIRENT_H)
37 #if !defined(_DtIcon_h_)
41 /***************************************************************************/
45 /***************************************************************************/
49 /***************************************************************************/
53 /***************************************************************************/
55 /***************************************************************************/
57 /* Function Declarations */
59 /***************************************************************************/
61 void initAD( ActionData *pAD );
62 void readCAFromGUI (struct _ActionData *ca_struct);
63 void getCAactionName (struct _ActionData *ca_struct);
64 void getCAdblClkCmd (struct _ActionData *ca_struct);
65 void getCAactionHelpText (struct _ActionData *ca_struct);
66 void getCAactionOpensText (struct _ActionData *ca_struct);
67 void getCAwindowType (struct _ActionData *ca_struct);
68 void writeCAToGUI (struct _ActionData *ca_struct);
70 void putCAactionName (struct _ActionData *ca_struct);
71 void putCAdblClkCmd (struct _ActionData *ca_struct);
72 void putCAfileTypes (struct _ActionData *ca_struct);
73 void putCAactionOpensText (struct _ActionData *ca_struct);
74 void putCAwindowType (struct _ActionData *ca_struct);
75 void putCAactionHelpText (struct _ActionData *ca_struct);
76 void putCAactionIcons (struct _ActionData *ca_struct);
77 void putCAdropFiletypes (ActionData *pAD);
79 void set_ca_dialog_height (void);
80 Widget get_selected_action_icon (void);
81 Boolean CreateActionAppShellCheckFields(void);
82 void FreeAndClearAD(ActionData *pAD);
83 void clear_CreateActionAppShell_fields(void);
84 Boolean compareAD(ActionData *pAD1, ActionData *pAD2);
85 ActionData *copyAD(ActionData *pAD);
86 void FreeResources (void);
89 /***************************************************************************/
91 /* Callbacks for Create Action 'File' menu */
93 /***************************************************************************/
95 void activateCB_FileNew (Widget wid, XtPointer cdata,
97 void activateCB_FileOpen (Widget wid, XtPointer cdata,
99 void activateCB_FileQuit (Widget wid, XtPointer cdata,
103 /***************************************************************************/
105 /* Callbacks for Create Action 'Options' menu */
107 /***************************************************************************/
109 void activateCB_ExpertOption (Widget wid, XtPointer client_data, XtPointer *cbs);
110 void valueChangedCB_ColorMonoOption (Widget, XtPointer,
111 XmToggleButtonCallbackStruct *);
112 void createCB_ColorMonoOption (Widget);
115 /***************************************************************************/
117 /* Callbacks for Create Action Panel Buttons */
119 /***************************************************************************/
121 void activateCB_action_icon (Widget wid, XtPointer client_data,
122 DtIconCallbackStruct *cbs);
123 void activateCB_add_filetype (Widget wid, XtPointer client_data,
124 XmPushButtonCallbackStruct *cbs);
125 void activateCB_edit_filetype (Widget wid, XtPointer client_data,
126 XmPushButtonCallbackStruct *cbs);
129 #endif /* _CA_AUX_H_INCLUDED */