Code

Merge and cleanup of GSoC C++-ification project.
[inkscape.git] / src / console-output-undo-observer.h
index b6fec7f326b634f7ccca712b34f2afb775241043..b5c08a8b54aa151ef301136ce398e7fd26f4dba4 100644 (file)
@@ -1,17 +1,18 @@
 /**
  * Inkscape::ConsoleOutputUndoObserver - observer for tracing calls to
- * sp_document_undo, sp_document_redo, sp_document_maybe_done
+ * SPDocumentUndo::undo, SPDocumentUndo::redo, SPDocumentUndo::maybe_done
  *
  * Authors:
  * David Yip <yipdw@alumni.rose-hulman.edu>
+ *   Abhishek Sharma
  *
  * Copyright (c) 2006 Authors
  *
  * Released under GNU GPL, see the file 'COPYING' for more information
  */
 
-#ifndef __INKSCAPE_CONSOLE_OUTPUT_UNDO_OBSERVER_H__
-#define __INKSCAPE_CONSOLE_OUTPUT_UNDO_OBSERVER_H__
+#ifndef SEEN_INKSCAPE_CONSOLE_OUTPUT_UNDO_OBSERVER_H
+#define SEEN_INKSCAPE_CONSOLE_OUTPUT_UNDO_OBSERVER_H
 
 #include "undo-stack-observer.h"
 
@@ -20,7 +21,7 @@ namespace Inkscape {
 class ConsoleOutputUndoObserver : public UndoStackObserver {
 public:
     ConsoleOutputUndoObserver() : UndoStackObserver() { }
-    ~ConsoleOutputUndoObserver() { }
+    virtual ~ConsoleOutputUndoObserver() { }
 
     void notifyUndoEvent(Event* log);
     void notifyRedoEvent(Event* log);
@@ -31,7 +32,7 @@ public:
 };
 }
 
-#endif
+#endif // SEEN_INKSCAPE_CONSOLE_OUTPUT_UNDO_OBSERVER_H
 
 /*
   Local Variables:
@@ -42,4 +43,4 @@ public:
   fill-column:99
   End:
 */
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :