Inheritance diagram for CP_FileSystemDialogs_Reply:
Dialog handlers | |
virtual NavDialogRef | CreateDialog (NavDialogCreationOptions &inOptions, NavEventUPP inEventUPP, void *inUserData)=0 |
virtual void | HandleNavUserAction (NavUserAction inUserAction) |
CP_E_NavDialogResult | GetNavDialogResult (NavUserAction inUserAction) |
Public Member Functions | |
Constructor / Destructor | |
CP_FileSystemDialogs_Reply () | |
Constructor. | |
virtual | ~CP_FileSystemDialogs_Reply () throw () |
Destructor. | |
Protected Member Functions | |
virtual void | HandleEvent (NavEventCallbackMessage inSelector, NavCBRec &ioParams) |
virtual void | RunPlatformDialog () |
virtual void | ProcessReply () |
virtual void | HandleUserAction (CP_FileSystemDialogs_Base *, CP_E_NavDialogResult) |
Protected Attributes | |
CP_FileSelectionCallback * | fSelectionCallback |
CP_SaveChangesCallback * | fSaveChangesCallback |
CP_SaveChangesCallback * | fRevertCallback |
CP_SaveChangesCallback * | fDontSaveChangesCallback |
CP_SaveChangesCallback * | fCancelCallback |
NavDialogRef | fNavDialog |
bool | fDialogIsRunning |
NavDialogCreationOptions | fNavDialogOptions |
Static Protected Attributes | |
static NavObjectFilterUPP | fsNavObjectFilterUPP = NULL |
static NavPreviewUPP | fsNavPreviewUPP = NULL |
|
Constructor.
|
|
Destructor.
|
|
NavigationServices preview UPP. Reimplemented from CP_FileSystemDialogs_Base. |
|
Runs the platforms file system / NavigationServices dialog. This handles the interaction between the MacOS NavigationServices and the user.
Reimplemented from CP_FileSystemDialogs_Base. Reimplemented in CP_GetDirectoryDialog, CP_GetFileDialog, and CP_PutFileDialog. |
|
Virtual function to handle replay. Subclasses override to do actual processing of reply.
Reimplemented in CP_GetDirectoryDialog, CP_GetFileDialog, and CP_PutFileDialog. |
|
Called when the user has done something to indicate they have made a selection, such as pressing Open or Save button. Subclasses override to do actual processing of action.
Reimplemented in CP_AskReviewDialog, CP_GetDirectoryDialog, CP_GetFileDialog, and CP_PutFileDialog. |
|
Runs the platforms file system / NavigationServices dialog. This calls the virtual RunPlatformDialog which handles the actual dialog, depending on the dialog and OS being used.
|
|
Sets the modality of the dialog, and optionally specifies a parent window to use in positioning the dialog relative to the passed in window.
|
|
Sets the callback when the user makes a file selection.
|
|
Sets the callback when the user chooses to save changes.
|
|
Sets the callback when the user chooses to revert to last saved file.
|
|
Sets the callback when the user chooses not to save changes.
|
|
Sets the callback when the user cancels Navigation Services dialog.
|
|
Sets the applications name for this dialog, if the underlying OS supports the display of the apps name.
|
|
Sets the file name for this dialog, if the underlying OS supports the display of the file name. The file name only applies if this dialog is saving a file, and the user is suppling a default file name.
|
|
Options used to control appearance and behavior of Navigation Services dialog. |
|
Returns the last user action of the dialog.
|
|
Returns the MacOS NavDialogRef for the current Navigation Services dialog.
|
|
Returns the MacOS NavDialogOptionFlags for the current Navigation Services dialog. These are the options that control the appearance and behavior of the dialog.
|
|
Sets the MacOS NavDialogOptionFlags for the current Navigation Services dialog. These are the options that control the appearance and behavior of the dialog.
|
|
Virtual function that each class implements to create the specific dialog to implement the Navigation Services handling of the request.
Implemented in CP_AskRevertDialog, CP_AskReviewDialog, CP_AskSaveChangesDialog, CP_GetDirectoryDialog, CP_GetFileDialog, and CP_PutFileDialog. |
|
Called when a kNavCBUserAction call is encountered.
|
|
Returns the result of the user dismissing the NavigationServices dialog.
|
|
Called when a kNavCBStart call is encountered.
|
|
Called when a kNavCBTerminate call is encountered.
|
|
|
|
NavigationServices object filter UPP. |
|
|
|
Signal called when the user selects a file. |
|
Signal called when the user responds to the AskSaveChanges dialog. |
|
Signal called when the user responds to the AskRevert dialog. |
|
Signal called when the user responds to the AskSaveChanges/AskRevert dialog. |
|
Signal called when the user responds to the AskSaveChanges/AskRevert dialog. |
|
MacOS NavDialogRef for the current Navigation Services dialog. |
|
Flag to indicate the dialog is currently running. |