home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
odtlktv4.zip
/
ODTLKT
/
TOOLKIT
/
IDL
/
ODVIEWEX.IDL
< prev
next >
Wrap
Text File
|
1995-12-13
|
3KB
|
94 lines
#ifndef _ODVIEWEXT_
#define _ODVIEWEXT_
#ifndef _ODTYPESM_
#include "ODTypesM.idl"
#endif
#ifndef _EXTENSN_
#include "Extensn.idl"
#endif
#ifndef _PART_
#include "part.idl"
#endif
//==============================================================================
// Theory of Operation
//==============================================================================
/*
ODViewExtension is implemented as a subclass of ODExtension. The default
implementation of ODViewExtension provides for a container control that
will display a tree, details and icon views of the parts hierarchy, similar
to the way workplace shell displays directories/files in thier
implementation of views.
*/
//=====================================================================================
// Constants
//==================================================================================
//==============================================================================
// Classes defined in this interface
//==============================================================================
interface ODViewExtension;
//=====================================================================================
// Implementation Types
//==================================================================================
#ifdef _PLATFORM_OS2_
typedef somToken ODFIELDINFO;
#endif
//==============================================================================
// Classes used by this interface
//==============================================================================
interface ODCnrView;
//==============================================================================
// ODViewExtension
//==============================================================================
interface ODViewExtension : ODExtension
{
void InitViewExtension( in ODPart part );
ODBoolean DisplayView( in ODPart rootpart,
in ODULong ulViewType );
ODBoolean AddDetailsColumns( in ODFIELDINFO *pPartODFieldInfo,
in char **sColDataType,
in char **sPartSUPropName,
in char **sPartSUValName,
in ODULong ulNumberofColumns );
#ifdef __SOMIDL__
implementation
{
functionprefix = ODViewExtension;
override:
somInit,
somUninit,
GetBase;
releaseorder:
InitViewExtension,
DisplayView,
AddDetailsColumns,
reserved1,
reserved2,
reserved3;
};
#endif
}; // End ODViewExtension Class
#endif