summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0acbacf)
raw | patch | inline | side by side (parent: 0acbacf)
author | dwyip <dwyip@users.sourceforge.net> | |
Thu, 29 Jun 2006 21:19:58 +0000 (21:19 +0000) | ||
committer | dwyip <dwyip@users.sourceforge.net> | |
Thu, 29 Jun 2006 21:19:58 +0000 (21:19 +0000) |
index 3c46cb11e1ef0a8cf8d9966db156f42cdc23a930..04890711ba461e9bca04a49eaa5e5330729dfb21 100644 (file)
}
void
-CompositeUndoStackObserver::notifyUndoEvent(Event* log)
+CompositeUndoStackObserver::notifyUndoEvent(XML::Event* log)
{
this->_lock();
for(UndoObserverRecordList::iterator i = this->_active.begin(); i != _active.end(); ++i) {
}
void
-CompositeUndoStackObserver::notifyRedoEvent(Event* log)
+CompositeUndoStackObserver::notifyRedoEvent(XML::Event* log)
{
this->_lock();
}
void
-CompositeUndoStackObserver::notifyUndoCommitEvent(Event* log)
+CompositeUndoStackObserver::notifyUndoCommitEvent(XML::Event* log)
{
this->_lock();
for(UndoObserverRecordList::iterator i = this->_active.begin(); i != _active.end(); ++i) {
index 02d54eb7693415fc361ba199f18abc1cddbf4e0a..fbe0ed892cf20cbb041cf67da9a48e12dea036d0 100644 (file)
namespace Inkscape {
+namespace XML {
+
class Event;
+}
+
/**
* Aggregates UndoStackObservers for management and triggering in an SPDocument's undo/redo
* system.
*
* \param log The event log generated by the redo event.
*/
- void issueRedo(Event* log)
+ void issueRedo(XML::Event* log)
{
this->_observer.notifyRedoEvent(log);
}
*
* \param log The event log generated by the undo event.
*/
- void issueUndo(Event* log)
+ void issueUndo(XML::Event* log)
{
this->_observer.notifyUndoEvent(log);
}
*
* \param log The event log being committed to the undo stack.
*/
- void issueUndoCommit(Event* log)
+ void issueUndoCommit(XML::Event* log)
{
this->_observer.notifyUndoCommitEvent(log);
}
*
* \param log The event log generated by the undo event.
*/
- void notifyUndoEvent(Event* log);
+ void notifyUndoEvent(XML::Event* log);
/**
* Notify all registered UndoStackObservers of a redo event.
*
* \param log The event log generated by the redo event.
*/
- void notifyRedoEvent(Event* log);
+ void notifyRedoEvent(XML::Event* log);
/**
* Notify all registered UndoStackObservers of an event log being committed to the undo stack.
*
* \param log The event log being committed to the undo stack.
*/
- void notifyUndoCommitEvent(Event* log);
+ void notifyUndoCommitEvent(XML::Event* log);
private:
// Remove an observer from a given list
index 7035e89feb1fb7450b2cabc7915ecaa2eb9d30fd..c90925b180dad030356d9675e727f0b80fcbe2ef 100644 (file)
namespace Inkscape {
void
-ConsoleOutputUndoObserver::notifyUndoEvent(Event* log)
+ConsoleOutputUndoObserver::notifyUndoEvent(XML::Event* log)
{
// g_message("notifyUndoEvent (sp_document_undo) called; log=%p\n", log->event);
}
void
-ConsoleOutputUndoObserver::notifyRedoEvent(Event* log)
+ConsoleOutputUndoObserver::notifyRedoEvent(XML::Event* log)
{
// g_message("notifyRedoEvent (sp_document_redo) called; log=%p\n", log->event);
}
void
-ConsoleOutputUndoObserver::notifyUndoCommitEvent(Event* log)
+ConsoleOutputUndoObserver::notifyUndoCommitEvent(XML::Event* log)
{
//g_message("notifyUndoCommitEvent (sp_document_maybe_done) called; log=%p\n", log->event);
}
index 32149c15dc012b13b83d5d68e2897938826a11ee..7f121dbcebf608fb795c4a537bcfcad1bce853aa 100644 (file)
ConsoleOutputUndoObserver() : UndoStackObserver() { }
~ConsoleOutputUndoObserver() { }
- void notifyUndoEvent(Event* log);
- void notifyRedoEvent(Event* log);
- void notifyUndoCommitEvent(Event* log);
+ void notifyUndoEvent(XML::Event* log);
+ void notifyRedoEvent(XML::Event* log);
+ void notifyUndoCommitEvent(XML::Event* log);
};
}