OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TDvOpenSaveDataOwner Class Reference

TDvOpenSaveDataOwner is a mixin class used by the DocView encapsulation of the FileOpen and FileSave dialogs. More...

#include <owl/docmanag.h>

Inheritance diagram for owl::TDvOpenSaveDataOwner:
owl::TDvFileOpenDialog owl::TDvFileSaveDialog

Public Member Functions

TDocTemplate ** GetTmplList () const
 Returns the list of templates displayed in the Open or Save dialogs used by the DocManager.
 
int GetTmplCount () const
 Returns the number of DocView templates currently displayed in the Open or Save dialogs used by the DocManager.
 

Protected Member Functions

 TDvOpenSaveDataOwner (TDvOpenSaveData &data)
 Constructor of mixin.
 

Protected Attributes

TDvOpenSaveDataDvData
 

Detailed Description

TDvOpenSaveDataOwner is a mixin class used by the DocView encapsulation of the FileOpen and FileSave dialogs.

It provides accessors to the template list and template count used by these dialogs. It purpose is to provide an encapsulation of code shared by the TDvFileOpenDialog an TDvFileSaveDialog class.

Definition at line 304 of file docmanag.h.

Constructor & Destructor Documentation

◆ TDvOpenSaveDataOwner()

owl::TDvOpenSaveDataOwner::TDvOpenSaveDataOwner ( TDvOpenSaveData & data)
protected

Constructor of mixin.

class used by the DocManager's version of the Open/Save dialogs.

Definition at line 75 of file docmanag.cpp.

Member Function Documentation

◆ GetTmplCount()

int owl::TDvOpenSaveDataOwner::GetTmplCount ( ) const
inline

Returns the number of DocView templates currently displayed in the Open or Save dialogs used by the DocManager.

Definition at line 563 of file docmanag.h.

References DvData, and owl::TDvOpenSaveData::GetTmplCount().

◆ GetTmplList()

TDocTemplate ** owl::TDvOpenSaveDataOwner::GetTmplList ( ) const
inline

Returns the list of templates displayed in the Open or Save dialogs used by the DocManager.

Definition at line 554 of file docmanag.h.

References DvData, and owl::TDvOpenSaveData::GetTmplList().

Member Data Documentation

◆ DvData

TDvOpenSaveData& owl::TDvOpenSaveDataOwner::DvData
protected

Definition at line 311 of file docmanag.h.


The documentation for this class was generated from the following files: