provide some Keyboard:: methods to get access to other versions of modifier names
[ardour.git] / libs / pbd / pbd / command.h
index 4547b779fb4e736300305017012e6246dfa66ba9..a9b313f4fa5ed7dee4414d0c82212f70dc80e7b4 100644 (file)
@@ -1,5 +1,5 @@
 
-/* 
+/*
     Copyright (C) 2006 Paul Davis
     Author: Hans Fugal
 
 #include "pbd/signals.h"
 #include "pbd/statefuldestructible.h"
 
+/** Base class for Undo/Redo commands and changesets */
 class LIBPBD_API Command : public PBD::StatefulDestructible, public PBD::ScopedConnectionList
 {
 public:
        virtual ~Command() { /* NOTE: derived classes must call drop_references() */ }
 
        virtual void operator() () = 0;
-       
+
        void set_name (const std::string& str) { _name = str; }
        const std::string& name() const { return _name; }
 
        virtual void undo() = 0;
        virtual void redo() { (*this)(); }
-       
+
        virtual XMLNode &get_state();
        virtual int set_state(const XMLNode&, int /*version*/) { /* noop */ return 0; }