LSingleDoc is a PowerPlant class that is used as a simple extension of LDocument. You must derive your own methods from this object ot provide functionality.
Methods :
The methods in this class are:
Data Members:
The data members in this class are:
Source files:
See also:
Purpose:
The constructor creates the object.
Access :
Prototype:
LSingleDoc();
LSingleDoc( LCommander *inSuper );Parameters:
Purpose:
The destructor destroys the object.
Access :
Prototype:
virtual ~LSingleDoc();
Purpose:
This is an override of AllowSubRemoval() in LCommander.
Purpose:
This is an override of GetDescriptor() in LDocument.
Purpose:
This returns the file pointer held in mFile.
Access :
Prototype:
LFile* GetFile() const;Parameters:
Return:
Purpose:
This method returns the window pointer held in mWindow.
Access :
Prototype:
LWindow* GetWindow() const;Parameters:
Return:
Purpose:
Make this Document the current one by selecting its Window.
Access :
Prototype:
virtual void MakeCurrent();Parameters:
Return:
Purpose:
Returns whether the Document's File has the given FSSpec.
Access :
Prototype:
virtual Boolean UsesFileSpec(
const FSSpec &inFileSpec ) const;Parameters:
Return:
Return true if it has the FSSpec.
Purpose:
Access :
Prototype:
LWindow *mWindow;
Purpose:
Access :
Prototype:
LFile *mFile;