home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
odtlktv4.zip
/
ODTLKT
/
TOOLKIT
/
IDL
/
UNDO.IDL
< prev
next >
Wrap
Text File
|
1995-12-13
|
3KB
|
99 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 _UNDO_
#define _UNDO_
#ifndef _ODOBJECT_
#include "ODObject.idl"
#endif
//==============================================================================
// Classes defined in this interface
//==============================================================================
interface ODUndo;
//==============================================================================
// Classes used by this interface
//==============================================================================
interface ODPart;
//==============================================================================
// ODUndo
//==============================================================================
interface ODUndo : ODObject
{
void AddActionToHistory(in ODPart whichPart,
in ODActionData actionData,
in ODActionType actionType,
in ODName undoActionLabel,
in ODName redoActionLabel);
void Undo();
void Redo();
void MarkActionHistory();
void ClearActionHistory(in ODRespectMarksChoices respectMarks);
void ClearRedoHistory();
ODBoolean PeekUndoHistory(out ODPart part,
out ODActionData actionData,
out ODActionType actionType,
out ODName actionLabel);
ODBoolean PeekRedoHistory(out ODPart part,
out ODActionData actionData,
out ODActionType actionType,
out ODName actionLabel);
void AbortCurrentTransaction();
#ifdef __SOMIDL__
implementation
{
functionprefix = ODUndo;
override:
somInit,
somUninit,
Purge;
releaseorder:
InitUndo,
AddActionToHistory,
Undo,
Redo,
MarkActionHistory,
ClearActionHistory,
ClearRedoHistory,
PeekUndoHistory,
PeekRedoHistory,
AbortCurrentTransaction;
};
#endif
};
#endif // _UNDO_