home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
odtlktv4.zip
/
ODTLKT
/
TOOLKIT
/
BETA
/
SAMPLES
/
OPENDOC
/
PARTS
/
CNTNRPRT
/
CNTNRPRP.H
< prev
next >
Wrap
Text File
|
1995-07-24
|
2KB
|
74 lines
/*
File: CntnrPrp.h
Contains: Interface to class that handles accessing part properties for
the OpenDoc shell.
Owned by:
Copyright: ⌐ 1995 by IBM, all rights reserved.
Change History (most recent first):
To Do:
*/
#ifndef _CNTNRPRP_
#define _CNTNRPRP_
//==============================================================================
// Theory of Operation
//==============================================================================
/*
This a simple abstract class to aid in the processing of OSA Events that
are requests to get or set properties. Since OpenDoc does the resolution
first, the object accessor routines can allocate one of these classes
according to the property for which they have been asked to create a token.
When passed back to the event handler, the event handler need only call the
the appropriate member function of this class, GetData or SetData, to
process the event. The event handler must then delete the object.
*/
//==============================================================================
// Constants
//==============================================================================
//==============================================================================
// Scalar Types
//==============================================================================
//==============================================================================
// Classes defined in this interface
//==============================================================================
class ContainerPropAccessor;
//==============================================================================
// Classes used by this interface
//==============================================================================
class ContainerPart;
//==============================================================================
// PropAccessor
//==============================================================================
class ContainerPropAccessor
{
public:
ContainerPropAccessor(DescType property, ContainerPart* part);
virtual void SetData(AEDesc* data);
virtual void GetData(AEDesc* result);
private:
ContainerPart* fPart;
DescType fProperty;
};
#endif // _CLKPRPAC_