Carried out if the plugin filled the
HostFile field of the
OpenPluginInfo structure
in a call to the
GetOpenPluginInfo
function:
- FAR creates a temporary folder.
- The GetFiles is called with the
following parameters: one PanelItem element with the wanted file, ItemsNumber=1, DestPath=path
to the temporary folder (without the ending backslash), OpMode=OPM_SILENT|OPM_EDIT;
the plugin then "outputs" the wanted file and returns control to FAR.
The plugin must "output" the wanted file to the temporary folder without creating subfolders.
- The file is opened by FAR in the internal editor.
- After exiting the editor, if the file was modified, the
PutFiles function is called with following
parameters: one PanelItem element with the wanted file, ItemsNumber=1, Move=0, OpMode=OPM_EDIT.
The plugin then "takes" the file from the temporary folder to its own panel.
- FAR removes the temporary file and folder and refreshes the panels.