Inheritance diagram for CP_FileSystemDialogs_Base:
Dialog handlers | |
virtual NavDialogRef | CreateDialog (NavDialogCreationOptions &inOptions, NavEventUPP inEventUPP, void *inUserData)=0 |
virtual void | HandleEvent (NavEventCallbackMessage inSelector, NavCBRec &ioParams) |
virtual void | HandleNavUserAction (NavUserAction inUserAction) |
virtual void | RunPlatformDialog () |
CP_E_NavDialogResult | GetNavDialogResult (NavUserAction inUserAction) |
Public Member Functions | |
Constructor / Destructor | |
CP_FileSystemDialogs_Base () | |
Constructor. | |
virtual | ~CP_FileSystemDialogs_Base () throw () |
Destructor. | |
Protected Member Functions | |
Dialog handlers | |
virtual void | RunPlatformDialog () |
Dialog handlers | |
virtual void | RunPlatformDialog () |
Protected Attributes | |
CP_FileSelectionCallback * | fSelectionCallback |
CP_SaveChangesCallback * | fSaveChangesCallback |
CP_SaveChangesCallback * | fRevertCallback |
CP_SaveChangesCallback * | fDontSaveChangesCallback |
CP_SaveChangesCallback * | fCancelCallback |
NavDialogRef | fNavDialog |
bool | fDialogIsRunning |
NavDialogCreationOptions | fNavDialogOptions |
Private Member Functions | |
Cleanup | |
void | PlatformCleanUp () |
Cleanup | |
void | PlatformCleanUp () |
Cleanup | |
void | PlatformCleanUp () |
|
Constructor.
|
|
Destructor.
|
|
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. |
|
Event handler to handle events in the NavigationServices dialogs.
Reimplemented in CP_FileSystemDialogs_Reply. |
|
Called when a kNavCBUserAction call is encountered.
|
|
Runs the platforms file system / NavigationServices dialog. This handles the interaction between the MacOS NavigationServices and the user.
Reimplemented in CP_AskRevertDialog, CP_AskSaveChangesDialog, CP_FileSystemDialogs_Reply, CP_GetDirectoryDialog, CP_GetFileDialog, and CP_PutFileDialog. |
|
Returns the result of the user dismissing the NavigationServices dialog.
|
|
Called when a kNavCBStart call is encountered.
|
|
Called when a kNavCBTerminate call is encountered.
|
|
Cleanup any platform specific objects that have been allocated.
|
|
Reimplemented in CP_AskRevertDialog, CP_AskSaveChangesDialog, CP_FileSystemDialogs_Reply, CP_GetDirectoryDialog, CP_GetFileDialog, and CP_PutFileDialog. |
|
|
|
Reimplemented in CP_AskRevertDialog, CP_AskSaveChangesDialog, CP_FileSystemDialogs_Reply, CP_GetDirectoryDialog, CP_GetFileDialog, and CP_PutFileDialog. |
|
|
|
|
|
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. |