home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
opendc12.zip
/
od124os2.exe
/
od12otk1.exe
/
include
/
Undo.idl
< prev
next >
Wrap
Text File
|
1997-04-02
|
4KB
|
116 lines
/* @(#)Z 1.4 com/src/ui/idl/Undo.idl, odui, od96os2, odos29712d 97/03/21 17:20:48 (96/07/15 18:29:02) */
//#====START_GENERATED_PROLOG======================================
//#
//#
//# COMPONENT_NAME: odui
//#
//# CLASSES: none
//#
//# ORIGINS: 82,27
//#
//#
//# (C) COPYRIGHT International Business Machines Corp. 1995,1996
//# All Rights Reserved
//# Licensed Materials - Property of IBM
//# US Government Users Restricted Rights - Use, duplication or
//# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
//#
//# IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
//# ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
//# PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
//# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
//# USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
//# OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
//# OR PERFORMANCE OF THIS SOFTWARE.
//#
//#====END_GENERATED_PROLOG========================================
//#
//# Copyright: (r) 1993 - 1995 by Apple Computer, Inc., all rights reserved.
#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
{
majorversion = 1; minorversion = 0; // BRR 2/20/96 - New for DR4
functionprefix = ODUndo;
override:
Purge,
somUninit;
releaseorder:
InitUndo,
AddActionToHistory,
Undo,
Redo,
MarkActionHistory,
ClearActionHistory,
ClearRedoHistory,
PeekUndoHistory,
PeekRedoHistory,
AbortCurrentTransaction ;
};
#endif
};
#endif // _UNDO_