/***********************************************************************/ /* Open Visualization Data Explorer */ /* (C) Copyright IBM Corp. 1989,1999 */ /* ALL RIGHTS RESERVED */ /* This code licensed under the */ /* "IBM PUBLIC LICENSE - Open Visualization Data Explorer" */ /***********************************************************************/ #include #include "defines.h" #include "ImageUndoCommand.h" #include "ImageWindow.h" ImageUndoCommand::ImageUndoCommand(const char *name, CommandScope *scope, boolean active, ImageWindow *w): NoUndoCommand(name, scope, active) { this->imageWindow = w; } boolean ImageUndoCommand::doIt(CommandInterface *ci) { this->imageWindow->undoCamera(); return TRUE; }