Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_DocumentPolicy_Multi Class Reference

1 LINE BRIEF DESCRIPTION HERE More...

Inheritance diagram for CP_DocumentPolicy_Multi:

CP_NoCopy CP_SigSlot::CP_SlotObject List of all members.

Public Member Functions

 CP_DocumentPolicy_Multi ()
virtual ~CP_DocumentPolicy_Multi () throw ()
void OnOpenApplication ()
bool HandleQuitCommand ()
void HandleNewUpdateCommandStatusCommand (CP_CommandStatus &inOutCommandStatus, bool &inOutWasHandled, CP_CommandNo &inCommandNo)
void HandleNewCommand (OSStatus &inOutStatus, CP_CommandNo &inCommandNo)
void HandleOpenUpdateCommandStatusCommand (CP_CommandStatus &inOutCommandStatus, bool &inOutWasHandled, CP_CommandNo &inCommandNo)
void HandleOpenCommand (OSStatus &inOutStatus, CP_CommandNo &inCommandNo)
void HandleSaveCommand (OSStatus &inOutStatus, CP_CommandNo &inCommandNo)
void HandleSaveAsCommand (OSStatus &inOutStatus, CP_CommandNo &inCommandNo)
void SetNewDocOnOpenApp (bool inNewDocOnOpenApp)
virtual CP_Document_BaseCreateNewDocument (FourCharCode inDocType)
virtual CP_Document_BaseOpenDocument (const CP_FileSystemSpec &inFileSpec)
virtual SInt32 CountDocuments ()
virtual CP_ScriptableObject_ImpGetNthDocument (SInt32 inPosition)
void disconnect_all ()
void signal_connect (CP_Signal *inSender)
void signal_disconnect (CP_Signal *inSender)
Document Type
FourCharCode GetDefaultDocumentType ()
void SetDefaultDocumentType (FourCharCode inDocType)
AppleEvents
virtual void HandleOpenDocumentAppleEvent (const AppleEvent &inEvent, AppleEvent &inOutReply)
virtual CP_ScriptableObject_ImpDoAE_CreateElement (DescType inDesiredClass, DescType inInsertLocation, const AppleEvent &inEvent, AppleEvent &inOutAEReply)

Protected Attributes

bool fNewDocOnOpenApp
FourCharCode fDocType
sender_set fSenders

Private Member Functions

void NewDocument ()
void HandleGetFileDialogResult (CPLAT::CP_FileSystemDialogs_Base *inSendingDialog, const CP_FileSystemSpec &inSelection, bool inOverwrite)

Detailed Description

DETAILED DESCRIPTION BEGINS HERE


Constructor & Destructor Documentation

CPLAT_Begin_Namespace_CPLAT CP_DocumentPolicy_Multi::CP_DocumentPolicy_Multi  ) 
 

Constructor.

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

Destructor.


Member Function Documentation

void CP_DocumentPolicy_Multi::OnOpenApplication  ) 
 

bool CP_DocumentPolicy_Multi::HandleQuitCommand  ) 
 

void CP_DocumentPolicy_Multi::HandleNewUpdateCommandStatusCommand CP_CommandStatus inOutCommandStatus,
bool &  inOutWasHandled,
CP_CommandNo inCommandNo
 

void CP_DocumentPolicy_Multi::HandleNewCommand OSStatus inOutStatus,
CP_CommandNo inCommandNo
 

void CP_DocumentPolicy_Multi::HandleOpenUpdateCommandStatusCommand CP_CommandStatus inOutCommandStatus,
bool &  inOutWasHandled,
CP_CommandNo inCommandNo
 

void CP_DocumentPolicy_Multi::HandleOpenCommand OSStatus inOutStatus,
CP_CommandNo inCommandNo
 

void CP_DocumentPolicy_Multi::HandleSaveCommand OSStatus inOutStatus,
CP_CommandNo inCommandNo
 

void CP_DocumentPolicy_Multi::HandleSaveAsCommand OSStatus inOutStatus,
CP_CommandNo inCommandNo
 

void CP_DocumentPolicy_Multi::SetNewDocOnOpenApp bool  inNewDocOnOpenApp  ) 
 

FourCharCode CP_DocumentPolicy_Multi::GetDefaultDocumentType  ) 
 

void CP_DocumentPolicy_Multi::SetDefaultDocumentType FourCharCode  inDocType  ) 
 

CP_Document_Base * CP_DocumentPolicy_Multi::CreateNewDocument FourCharCode  inDocType  )  [virtual]
 

CP_Document_Base * CP_DocumentPolicy_Multi::OpenDocument const CP_FileSystemSpec inFileSpec  )  [virtual]
 

SInt32 CP_DocumentPolicy_Multi::CountDocuments  )  [virtual]
 

CP_ScriptableObject_Imp * CP_DocumentPolicy_Multi::GetNthDocument SInt32  inPosition  )  [virtual]
 

Returns the nth document created by this application, if the application supports documents.

Exceptions:
none 
Returns:
CP_ScriptableObject_Imp * The returned document.

void CP_DocumentPolicy_Multi::NewDocument  )  [private]
 

void CP_DocumentPolicy_Multi::HandleGetFileDialogResult CPLAT::CP_FileSystemDialogs_Base *  inSendingDialog,
const CP_FileSystemSpec inSelection,
bool  inOverwrite
[private]
 

void CP_DocumentPolicy_Multi::HandleOpenDocumentAppleEvent const AppleEvent &  inEvent,
AppleEvent &  inOutReply
[virtual]
 

CP_ScriptableObject_Imp * CP_DocumentPolicy_Multi::DoAE_CreateElement DescType  inDesiredClass,
DescType  inInsertLocation,
const AppleEvent &  inEvent,
AppleEvent &  inOutAEReply
[virtual]
 

Create a new default document when called by the AppleEvent create element.

Parameters:
inDesiredClass A DescType describing the class desired to create.
inInsertLocation A DescType describing the location to insert the object.
inEvent The incoming AppleEvent that we are creating the object for.
inOutAEReply The reply to the incoming Apple Event.
Exceptions:
none 
Returns:
CP_ScriptableObject_Imp * The newly created element.

void CP_SigSlot::CP_SlotObject::disconnect_all  )  [inherited]
 

void CP_SigSlot::CP_SlotObject::signal_connect CP_Signal inSender  )  [inherited]
 

void CP_SigSlot::CP_SlotObject::signal_disconnect CP_Signal inSender  )  [inherited]
 


Member Data Documentation

bool CP_DocumentPolicy_Multi::fNewDocOnOpenApp [protected]
 

FourCharCode CP_DocumentPolicy_Multi::fDocType [protected]
 

sender_set CP_SigSlot::CP_SlotObject::fSenders [protected, inherited]
 


The documentation for this class was generated from the following files:
Generated on Sat Sep 17 20:01:30 2005 for CPLAT by  doxygen 1.4.0