Library | File

Class pfcFileOpenRegisterListener

# include <pfcUI.h>

class pfcFileOpenRegisterListener
 : public virtual pfcActionListener
{
    xaideclare(pfcFileOpenRegisterListener)
    ...
};



Description

Listener providing implementation for external functions registered by the application and capable of being used for Open operation.



Method Summary

xboolFileOpenAccess (xrstring FileType)
The callback function to decide if the file type should be selectable in File Open dialog or not.
voidOnFileOpenRegister (xrstring FileType, xrstring FilePath)
This callback function is called upon pressing Open button for the new registered type.



Method Detail

xboolFileOpenAccess (xrstring FileType)

The callback function to decide if the file type should be selectable in File Open dialog or not.
Manual References:
Session Objects: File Dialogs, Session Objects: File Dialogs
Parameters:
FileType
The file type.
Returns:
Boolean indicating whether the file type is selectable.



voidOnFileOpenRegister (xrstring FileType, xrstring FilePath)

This callback function is called upon pressing Open button for the new registered type.
Manual References:
Session Objects: File Dialogs, Session Objects: File Dialogs
Parameters:
FileType
The file type.
FilePath
The absolute path of the file open location.
Returns: