struct OpenPluginInfo
{
int StructSize;
DWORD Flags;
const char *HostFile;
const char *CurDir;
const char *Format;
const char *PanelTitle;
const struct InfoPanelLine *InfoLines;
int InfoLinesNumber;
const char * const *DescrFiles;
int DescrFilesNumber;
const struct PanelMode *PanelModesArray;
int PanelModesNumber;
int StartPanelMode;
int StartSortMode;
int StartSortOrder;
const struct KeyBarTitles *KeyBar;
const char *ShortcutData;
long Reserverd;
};
C: Opi.StructSize = sizeof (struct OpenPluginInfo);
Pascal: Opi.StructSize := SizeOf(Info); | Flag | Description |
|---|---|
| OPIF_USEFILTER | Use filter in the plugin panel. |
| OPIF_USESORTGROUPS | Use sort groups in the plugin panel. |
| OPIF_USEHIGHLIGHTING | Use file highlighting in the plugin panel. |
| OPIF_ADDDOTS | Add ".." item automatically if it is absent. |
| OPIF_RAWSELECTION | Folders may be selected regardless of FAR settings. |
| OPIF_REALNAMES | Turns on the standard FAR file processing mechanism if requested operation is not supported by the plugin. If this flag is set, the items on the plugin panel should be real file names. |
| OPIF_SHOWNAMESONLY | Show file names without paths by default. |
| OPIF_SHOWRIGHTALIGNNAMES | Show file names right-aligned by default in all panel display modes. |
| OPIF_SHOWPRESERVECASE | Show file names using original case regardless of FAR settings. |
| OPIF_FINDFOLDERS | Apply "Find file" command for folders. The OPIF_FINDFOLDERS flag has no effect since FAR Manager 1.70 beta 4. |
| OPIF_COMPAREFATTIME | Convert timestamps to FAT format for the Compare folders operation. Set this flag if the plugin file system doesn't provide the time accuracy necessary for standard comparison operations. |
|
OPIF_EXTERNALGET OPIF_EXTERNALPUT OPIF_EXTERNALDELETE OPIF_EXTERNALMKDIR |
These flags can be used with OPIF_REALNAMES only. Forces usage of corresponding internal FAR functions, even if plugin exports such function. |
| OPIF_USEATTRHIGHLIGHTING |
FAR Manager 1.70 build #963 and below: use attribute-based file highlighting.
All file highlighting templates, except * and *.* will be ignored.FAR Manager 1.70 build #964 and above: use attributes only for file highlighting. File names will be ignored. Color is chosen from file color groups, which have templates excluded from analysis (i.e. option " [ ] Match file mask(s)" in file
highlighting setup dialog is off).
|
NULL.NULL.NULL.NULL.'0'+<view mode number>.
For example, '1' (0x31) will set Brief view mode. If you don't want to change panel display mode
at plugin startup, set the field to 0.NULL if not required.NULL.