Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

CP_QuickTime_Application Class Reference

Application class for the QuickTime demo.

List of all members.

Public Member Functions

Constructor / Destructor
 CP_QuickTime_Application ()
 Constructor.
virtual ~CP_QuickTime_Application () throw ()
 Destructor.

Protected Member Functions

AboutBox
virtual CPLAT::CP_String GetAboutBoxDescription () const
Commands
virtual void HandleOpenApplication ()

Protected Attributes

CPLAT::CP_QuickTime_Image fImportExport
CPLAT::CP_FileSystemSpec fImportImage
CPLAT::CP_FileSystemSpec fExportImage

Private Types

typedef CPLAT::CP_Application<
CPLAT::CP_DocumentPolicy_None,
CPLAT::CP_PrintPolicy_None,
CPLAT::CP_UndoPolicy_None > 
inherited

Private Member Functions

Import Image
void HandleGetImageFile (CPLAT::CP_FileSystemDialogs_Base *inSendingDialog, const CPLAT::CP_FileSystemSpec &inSelection, bool inOverwrite)
Export Image
void HandleExport (CPLAT::OSStatus &inOutStatus, CPLAT::CP_CommandNo &inCommandNo)
void GetFileToExport (CPLAT::CP_FileSystemDialogs_Base *inSendingDialog, const CPLAT::CP_FileSystemSpec &inSelection, bool inOverwrite)
void HandleExportFile (CPLAT::CP_FileSystemDialogs_Base *inSendingDialog, const CPLAT::CP_FileSystemSpec &inSelection, bool inOverwrite)
Movie
void HandleShowMovie (CPLAT::OSStatus &inOutStatus, CPLAT::CP_CommandNo &inCommandNo)
void AskForQTMovie (CPLAT::OSStatus &inOutStatus, CPLAT::CP_CommandNo &inCommandNo)
void HandleGetQTMovieDialogResult (CPLAT::CP_FileSystemDialogs_Base *inSendingDialog, const CPLAT::CP_FileSystemSpec &inSelection, bool inOverwrite)
void ShowMovieFile (const CPLAT::CP_FileSystemSpec &inMovieSpec)


Member Typedef Documentation

typedef CPLAT::CP_Application<CPLAT::CP_DocumentPolicy_None, CPLAT::CP_PrintPolicy_None, CPLAT::CP_UndoPolicy_None> CP_QuickTime_Application::inherited [private]
 


Constructor & Destructor Documentation

CP_QuickTime_Application::CP_QuickTime_Application  ) 
 

Constructor.

CP_QuickTime_Application::~CP_QuickTime_Application  )  throw () [virtual]
 

Destructor.


Member Function Documentation

CPLAT::CP_String CP_QuickTime_Application::GetAboutBoxDescription  )  const [protected, virtual]
 

Return the string that describes the purpose of the application in the AboutBox.

Exceptions:
none 
Returns:
CP_String const The description, displayed in the about box.

void CP_QuickTime_Application::HandleOpenApplication  )  [protected, virtual]
 

void CP_QuickTime_Application::HandleGetImageFile CPLAT::CP_FileSystemDialogs_Base *  inSendingDialog,
const CPLAT::CP_FileSystemSpec &  inSelection,
bool  inOverwrite
[private]
 

void CP_QuickTime_Application::HandleExport CPLAT::OSStatus &  inOutStatus,
CPLAT::CP_CommandNo inCommandNo
[private]
 

void CP_QuickTime_Application::GetFileToExport CPLAT::CP_FileSystemDialogs_Base *  inSendingDialog,
const CPLAT::CP_FileSystemSpec &  inSelection,
bool  inOverwrite
[private]
 

void CP_QuickTime_Application::HandleExportFile CPLAT::CP_FileSystemDialogs_Base *  inSendingDialog,
const CPLAT::CP_FileSystemSpec &  inSelection,
bool  inOverwrite
[private]
 

void CP_QuickTime_Application::HandleShowMovie CPLAT::OSStatus &  inOutStatus,
CPLAT::CP_CommandNo inCommandNo
[private]
 

void CP_QuickTime_Application::AskForQTMovie CPLAT::OSStatus &  inOutStatus,
CPLAT::CP_CommandNo inCommandNo
[private]
 

Called when the user needs to select a QuickTime movie to show.

Parameters:
inOutStatus Not used.
inCommandNo Not used.
Exceptions:
none 
Returns:
void

void CP_QuickTime_Application::HandleGetQTMovieDialogResult CPLAT::CP_FileSystemDialogs_Base *  inSendingDialog,
const CPLAT::CP_FileSystemSpec &  inSelection,
bool  inOverwrite
[private]
 

Called when the user selects a file to be used as the movie to show.

Parameters:
inSendingDialog Not used.
inSelection The selected file that contains the XML file to be used in the conversion.
inOverwrite Not used.
Exceptions:
none 
Returns:
void

void CP_QuickTime_Application::ShowMovieFile const CPLAT::CP_FileSystemSpec &  inMovieSpec  )  [private]
 

Create and display the movie from the passed in file spec.

Parameters:
inMovieSpec CP_FileSystemSpec of the movie to display.
Exceptions:
none 
Returns:
void


Member Data Documentation

CPLAT::CP_QuickTime_Image CP_QuickTime_Application::fImportExport [protected]
 

CPLAT::CP_FileSystemSpec CP_QuickTime_Application::fImportImage [protected]
 

CPLAT::CP_FileSystemSpec CP_QuickTime_Application::fExportImage [protected]
 


The documentation for this class was generated from the following files:
Generated on Tue Sep 20 20:27:35 2005 for CPLAT_MacOS by  doxygen 1.4.0