mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-28 16:20:50 +00:00
+ Added "undo" library (undo namespace). + Moved UndoHistory to undo namespace. + Added Undoer and UndoersCollector interfaces. + Converted old UndoStream to UndoersStack class. + Added new "undoers" namespace and moved each Undoer implementation (classes to undo different actions) to "undoers" directory. + Added IO operations to "raster" objects (image, cel, layer, palette, mask).
23 lines
495 B
C++
23 lines
495 B
C++
// ASEPRITE Undo Library
|
|
// Copyright (C) 2001-2011 David Capello
|
|
//
|
|
// This source file is ditributed under a BSD-like license, please
|
|
// read LICENSE.txt for more information.
|
|
|
|
#ifndef UNDO_UNDO_EXCEPTION_H_INCLUDED
|
|
#define UNDO_UNDO_EXCEPTION_H_INCLUDED
|
|
|
|
#include "base/exception.h"
|
|
|
|
namespace undo {
|
|
|
|
class UndoException : public base::Exception
|
|
{
|
|
public:
|
|
UndoException(const char* msg) throw() : base::Exception(msg) { }
|
|
};
|
|
|
|
} // namespace undo
|
|
|
|
#endif // UNDO_UNDO_EXCEPTION_H_INCLUDED
|