| 1 |
/* @(#)UxFsBox.h 17.1 (ESO-IPG) 01/25/02 17:25:59 */ |
| 2 |
#ifndef UXFileSelectionBox_INCLUDED |
| 3 |
#define UXFileSelectionBox_INCLUDED |
| 4 |
|
| 5 |
#include "Xm/FileSB.h" |
| 6 |
|
| 7 |
#ifdef DESIGN_TIME |
| 8 |
#include "UxSelBox.h" |
| 9 |
|
| 10 |
#ifndef UxGetQualifySearchDataProc |
| 11 |
extern binptr UxP_FileSelectionBoxRD_qualifySearchDataProc; |
| 12 |
#define UxGetQualifySearchDataProc(sw) \ |
| 13 |
UxGET_voidFunction(sw,UxP_FileSelectionBoxRD_qualifySearchDataProc,"qualifySearchDataProc") |
| 14 |
#define UxPutQualifySearchDataProc(sw,val) \ |
| 15 |
UxPUT_voidFunction(sw,UxP_FileSelectionBoxRD_qualifySearchDataProc,"qualifySearchDataProc",val) |
| 16 |
#endif |
| 17 |
|
| 18 |
#ifndef UxGetPattern |
| 19 |
extern binptr UxP_FileSelectionBoxRD_pattern; |
| 20 |
#define UxGetPattern(sw) \ |
| 21 |
UxGET_string(sw,UxP_FileSelectionBoxRD_pattern,"pattern") |
| 22 |
#define UxPutPattern(sw,val) \ |
| 23 |
UxPUT_string(sw,UxP_FileSelectionBoxRD_pattern,"pattern",val) |
| 24 |
#endif |
| 25 |
|
| 26 |
#ifndef UxGetNoMatchString |
| 27 |
extern binptr UxP_FileSelectionBoxRD_noMatchString; |
| 28 |
#define UxGetNoMatchString(sw) \ |
| 29 |
UxGET_string(sw,UxP_FileSelectionBoxRD_noMatchString,"noMatchString") |
| 30 |
#define UxPutNoMatchString(sw,val) \ |
| 31 |
UxPUT_string(sw,UxP_FileSelectionBoxRD_noMatchString,"noMatchString",val) |
| 32 |
#endif |
| 33 |
|
| 34 |
#ifndef UxGetListUpdated |
| 35 |
extern binptr UxP_FileSelectionBoxRD_listUpdated; |
| 36 |
#define UxGetListUpdated(sw) \ |
| 37 |
UxGET_string(sw,UxP_FileSelectionBoxRD_listUpdated,"listUpdated") |
| 38 |
#define UxPutListUpdated(sw,val) \ |
| 39 |
UxPUT_string(sw,UxP_FileSelectionBoxRD_listUpdated,"listUpdated",val) |
| 40 |
#endif |
| 41 |
|
| 42 |
#ifndef UxGetFilterLabelString |
| 43 |
extern binptr UxP_FileSelectionBoxRD_filterLabelString; |
| 44 |
#define UxGetFilterLabelString(sw) \ |
| 45 |
UxGET_string(sw,UxP_FileSelectionBoxRD_filterLabelString,"filterLabelString") |
| 46 |
#define UxPutFilterLabelString(sw,val) \ |
| 47 |
UxPUT_string(sw,UxP_FileSelectionBoxRD_filterLabelString,"filterLabelString",val) |
| 48 |
#endif |
| 49 |
|
| 50 |
#ifndef UxGetFileTypeMask |
| 51 |
extern binptr UxP_FileSelectionBoxRD_fileTypeMask; |
| 52 |
#define UxGetFileTypeMask(sw) \ |
| 53 |
UxGET_string(sw,UxP_FileSelectionBoxRD_fileTypeMask,"fileTypeMask") |
| 54 |
#define UxPutFileTypeMask(sw,val) \ |
| 55 |
UxPUT_string(sw,UxP_FileSelectionBoxRD_fileTypeMask,"fileTypeMask",val) |
| 56 |
#endif |
| 57 |
|
| 58 |
#ifndef UxGetFileSearchProc |
| 59 |
extern binptr UxP_FileSelectionBoxRD_fileSearchProc; |
| 60 |
#define UxGetFileSearchProc(sw) \ |
| 61 |
UxGET_voidFunction(sw,UxP_FileSelectionBoxRD_fileSearchProc,"fileSearchProc") |
| 62 |
#define UxPutFileSearchProc(sw,val) \ |
| 63 |
UxPUT_voidFunction(sw,UxP_FileSelectionBoxRD_fileSearchProc,"fileSearchProc",val) |
| 64 |
#endif |
| 65 |
|
| 66 |
#ifndef UxGetFileListLabelString |
| 67 |
extern binptr UxP_FileSelectionBoxRD_fileListLabelString; |
| 68 |
#define UxGetFileListLabelString(sw) \ |
| 69 |
UxGET_string(sw,UxP_FileSelectionBoxRD_fileListLabelString,"fileListLabelString") |
| 70 |
#define UxPutFileListLabelString(sw,val) \ |
| 71 |
UxPUT_string(sw,UxP_FileSelectionBoxRD_fileListLabelString,"fileListLabelString",val) |
| 72 |
#endif |
| 73 |
|
| 74 |
#ifndef UxGetFileListItemCount |
| 75 |
extern binptr UxP_FileSelectionBoxRD_fileListItemCount; |
| 76 |
#define UxGetFileListItemCount(sw) \ |
| 77 |
UxGET_int(sw,UxP_FileSelectionBoxRD_fileListItemCount,"fileListItemCount") |
| 78 |
#define UxPutFileListItemCount(sw,val) \ |
| 79 |
UxPUT_int(sw,UxP_FileSelectionBoxRD_fileListItemCount,"fileListItemCount",val) |
| 80 |
#endif |
| 81 |
|
| 82 |
#ifndef UxGetFileListItems |
| 83 |
extern binptr UxP_FileSelectionBoxRD_fileListItems; |
| 84 |
#define UxGetFileListItems(sw) \ |
| 85 |
UxGET_string(sw,UxP_FileSelectionBoxRD_fileListItems,"fileListItems") |
| 86 |
#define UxPutFileListItems(sw,val) \ |
| 87 |
UxPUT_string(sw,UxP_FileSelectionBoxRD_fileListItems,"fileListItems",val) |
| 88 |
#endif |
| 89 |
|
| 90 |
#ifndef UxGetDirSpec |
| 91 |
extern binptr UxP_FileSelectionBoxRD_dirSpec; |
| 92 |
#define UxGetDirSpec(sw) \ |
| 93 |
UxGET_string(sw,UxP_FileSelectionBoxRD_dirSpec,"dirSpec") |
| 94 |
#define UxPutDirSpec(sw,val) \ |
| 95 |
UxPUT_string(sw,UxP_FileSelectionBoxRD_dirSpec,"dirSpec",val) |
| 96 |
#endif |
| 97 |
|
| 98 |
#ifndef UxGetDirSearchProc |
| 99 |
extern binptr UxP_FileSelectionBoxRD_dirSearchProc; |
| 100 |
#define UxGetDirSearchProc(sw) \ |
| 101 |
UxGET_voidFunction(sw,UxP_FileSelectionBoxRD_dirSearchProc,"dirSearchProc") |
| 102 |
#define UxPutDirSearchProc(sw,val) \ |
| 103 |
UxPUT_voidFunction(sw,UxP_FileSelectionBoxRD_dirSearchProc,"dirSearchProc",val) |
| 104 |
#endif |
| 105 |
|
| 106 |
#ifndef UxGetDirMask |
| 107 |
extern binptr UxP_FileSelectionBoxRD_dirMask; |
| 108 |
#define UxGetDirMask(sw) \ |
| 109 |
UxGET_string(sw,UxP_FileSelectionBoxRD_dirMask,"dirMask") |
| 110 |
#define UxPutDirMask(sw,val) \ |
| 111 |
UxPUT_string(sw,UxP_FileSelectionBoxRD_dirMask,"dirMask",val) |
| 112 |
#endif |
| 113 |
|
| 114 |
#ifndef UxGetDirListLabelString |
| 115 |
extern binptr UxP_FileSelectionBoxRD_dirListLabelString; |
| 116 |
#define UxGetDirListLabelString(sw) \ |
| 117 |
UxGET_string(sw,UxP_FileSelectionBoxRD_dirListLabelString,"dirListLabelString") |
| 118 |
#define UxPutDirListLabelString(sw,val) \ |
| 119 |
UxPUT_string(sw,UxP_FileSelectionBoxRD_dirListLabelString,"dirListLabelString",val) |
| 120 |
#endif |
| 121 |
|
| 122 |
#ifndef UxGetDirListItemCount |
| 123 |
extern binptr UxP_FileSelectionBoxRD_dirListItemCount; |
| 124 |
#define UxGetDirListItemCount(sw) \ |
| 125 |
UxGET_int(sw,UxP_FileSelectionBoxRD_dirListItemCount,"dirListItemCount") |
| 126 |
#define UxPutDirListItemCount(sw,val) \ |
| 127 |
UxPUT_int(sw,UxP_FileSelectionBoxRD_dirListItemCount,"dirListItemCount",val) |
| 128 |
#endif |
| 129 |
|
| 130 |
#ifndef UxGetDirListItems |
| 131 |
extern binptr UxP_FileSelectionBoxRD_dirListItems; |
| 132 |
#define UxGetDirListItems(sw) \ |
| 133 |
UxGET_string(sw,UxP_FileSelectionBoxRD_dirListItems,"dirListItems") |
| 134 |
#define UxPutDirListItems(sw,val) \ |
| 135 |
UxPUT_string(sw,UxP_FileSelectionBoxRD_dirListItems,"dirListItems",val) |
| 136 |
#endif |
| 137 |
|
| 138 |
#ifndef UxGetDirectoryValid |
| 139 |
extern binptr UxP_FileSelectionBoxRD_directoryValid; |
| 140 |
#define UxGetDirectoryValid(sw) \ |
| 141 |
UxGET_string(sw,UxP_FileSelectionBoxRD_directoryValid,"directoryValid") |
| 142 |
#define UxPutDirectoryValid(sw,val) \ |
| 143 |
UxPUT_string(sw,UxP_FileSelectionBoxRD_directoryValid,"directoryValid",val) |
| 144 |
#endif |
| 145 |
|
| 146 |
#ifndef UxGetDirectory |
| 147 |
extern binptr UxP_FileSelectionBoxRD_directory; |
| 148 |
#define UxGetDirectory(sw) \ |
| 149 |
UxGET_string(sw,UxP_FileSelectionBoxRD_directory,"directory") |
| 150 |
#define UxPutDirectory(sw,val) \ |
| 151 |
UxPUT_string(sw,UxP_FileSelectionBoxRD_directory,"directory",val) |
| 152 |
#endif |
| 153 |
|
| 154 |
extern Class_t UxC_fileSelectionBox; |
| 155 |
#define UxCreateFileSelectionBox(name,parent) \ |
| 156 |
UxCreateSwidget(UxC_fileSelectionBox,name,parent) |
| 157 |
#else |
| 158 |
#define UxCreateFileSelectionBox(name,parent) \ |
| 159 |
UxCreateSwidget(name,xmFileSelectionBoxWidgetClass,parent) |
| 160 |
#endif |
| 161 |
#endif |