home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
odtlktv4.zip
/
ODTLKT
/
TOOLKIT
/
IDL
/
PSTOBJ.IDL
< prev
next >
Wrap
Text File
|
1995-12-13
|
3KB
|
92 lines
/********************************************************************/
/* Licensed Materials - Property of IBM */
/* */
/* */
/* Copyright (C) International Business Machines Corp., 1994. */
/* Copyright (C) Apple Computer, Inc., 1994 */
/* */
/* US Government Users Restricted Rights - */
/* Use, duplication, or disclosure restricted */
/* by GSA ADP Schedule Contract with IBM Corp. */
/* */
/* */
/********************************************************************/
#ifndef _PSTOBJ_
#define _PSTOBJ_
#ifndef _REFCTOBJ_
#include "RefCtObj.idl"
#endif
//==============================================================================
// Theory of Operation
//==============================================================================
/*
This file defines class ODPersistentObject. This class is the common base
class for all OpenDoc classes whose objects require persistent storage.
*/
//==============================================================================
// Classes defined in this interface
//==============================================================================
interface ODPersistentObject;
//==============================================================================
// Classes used by this interface
//==============================================================================
interface ODStorageUnit;
interface ODFrame;
//==============================================================================
// ODPersistentObject
//==============================================================================
interface ODPersistentObject : ODRefCntObject
{
void InitPersistentObject(in ODStorageUnit storageUnit);
void InitPersistentObjectFromStorage(in ODStorageUnit storageUnit);
void ReleaseAll();
void Externalize();
ODStorageUnit GetStorageUnit();
ODID GetID();
void CloneInto(in ODDraftKey key,
in ODStorageUnit toSU,
in ODFrame scope);
#ifdef __SOMIDL__
implementation
{
functionprefix = ODPersistentObject;
override:
somInit,
somUninit;
releaseorder:
InitPersistentObject,
InitPersistentObjectFromStorage,
ReleaseAll,
Externalize,
GetStorageUnit,
GetID,
CloneInto;
};
#endif
};
#endif // _PSTOBJ_