dtfile: Add missing prototypes

Add missing prototypes and header files to the dtfile
code in order to move closer towards 64-bit compatibility.

Extract the following functions from Motif internal headers:

_XmGetWidgetExtData
_XmRecordEvent
_XmStringUngenerate
_XmTextFieldSetDestination
_XmGetActiveTopLevelMenu

Extract manually prototypes of the obsolete Motif interface:
_XmHighlightBorder
_XmUnhighlightBorder

Remove XmPrivate.h if extractprototype.awk fails

Make the following header files available via -I:
	codelibs/boolean.h
	codelibs/pathutils.h
	codelibs/shellutils.h
and remove shellutils.h from dtwm directory.
This commit is contained in:
Marcin Cieslak
2012-09-18 04:02:28 +02:00
committed by Jon Trulson
parent f55dfc34c0
commit 1079b56422
43 changed files with 240 additions and 99 deletions

View File

@@ -38,8 +38,8 @@
****************************************************************************
************************************<+>*************************************/
#ifndef _SharedProcs_h
#define _SharedProcs_h
#ifndef _DtFile_SharedProcs_h
#define _DtFile_SharedProcs_h
#include <Dt/Icon.h>
#include <Dt/Action.h>
@@ -135,6 +135,7 @@ extern void _DtBuildActionArgsWithSelectedFiles(
int selected_file_count,
DtActionArg **action_args,
int *args_count) ;
extern void _DtBuildActionArgsWithDroppedFiles(
FileViewData *dropped_on_obj,
DtDndDropCallbackStruct *drop_parameters,
@@ -202,11 +203,5 @@ extern Boolean messageDisplayEnabled;
/* Flag controlling whether dialogs are auto-positioned */
extern Boolean disableDialogAutoPlacement;
/* Generic overlay for all dialog 'Rec' structures */
typedef struct
{
Widget shell;
} GenericRecord;
#endif /* _SharedProcs_h */
#endif /* _DtFile_SharedProcs_h */
/* DON'T ADD ANYTHING AFTER THIS #endif */