Inheritance diagram for CP_AskReviewDialog:
Public Member Functions | |
Constructor / Destructor | |
CP_AskReviewDialog (UInt32 inNumberDocuments) | |
Constructor. | |
virtual | ~CP_AskReviewDialog () throw () |
Destructor. | |
Protected Member Functions | |
virtual NavDialogRef | CreateDialog (NavDialogCreationOptions &inOptions, NavEventUPP inEventUPP, void *inUserData) |
virtual void | HandleUserAction (CP_FileSystemDialogs_Base *inSendingDialog, CP_E_NavDialogResult inNavDialogResult) |
virtual void | HandleEvent (NavEventCallbackMessage inSelector, NavCBRec &ioParams) |
virtual void | RunPlatformDialog () |
virtual void | ProcessReply () |
Protected Attributes | |
UInt32 | fNumberDocuments |
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.
|
|
Creates the MacOS NavigationServices dialog NavCreateAskDiscardChangesDialog to ask the user if they want to discard changes or revent to the last saved version.
Implements CP_FileSystemDialogs_Base. |
|
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 from CP_FileSystemDialogs_Reply. |
|
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. |
|
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.
|
|
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. |