Library | File

Class pfcFileSaveRegisterListener

# include <pfcUI.h>

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



Description

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



Method Summary

xboolFileSaveAccess (xrstring FileType, pfcModel_ptr Model)
The callback function to decide if the file type should be selectable in File 'Save a Copy' dialog or not.
voidOnFileSaveRegister (xrstring FileType, pfcModel_ptr Model, xrstring FilePath)
This callback function is called upon pressing OK button on the File 'Save a Copy' dialog for the new registered type.



Method Detail

xboolFileSaveAccess (xrstring FileType, pfcModel_ptr Model)

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



voidOnFileSaveRegister (xrstring FileType, pfcModel_ptr Model, xrstring FilePath)

This callback function is called upon pressing OK button on the File 'Save a Copy' dialog for the new registered type.
Manual References:
Session Objects: File Dialogs
Parameters:
FileType
The file type.
Model
The current model.
FilePath
The absolute path of file save location.
Returns: