diff options
Diffstat (limited to 'libs/pbd/pbd/command.h')
-rw-r--r-- | libs/pbd/pbd/command.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/pbd/pbd/command.h b/libs/pbd/pbd/command.h index 9feac6366a..337140e786 100644 --- a/libs/pbd/pbd/command.h +++ b/libs/pbd/pbd/command.h @@ -34,13 +34,13 @@ 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; } |