pbd: fairly unconscionable that Undo stuff in libpbd is not namespaced, so now it is
This commit is contained in:
parent
6b34578dfd
commit
0223be5312
|
@ -1060,7 +1060,7 @@ public:
|
|||
*/
|
||||
void redo (uint32_t n);
|
||||
|
||||
UndoHistory& history() { return _history; }
|
||||
PBD::UndoHistory& history() { return _history; }
|
||||
|
||||
uint32_t undo_depth() const { return _history.undo_depth(); }
|
||||
uint32_t redo_depth() const { return _history.redo_depth(); }
|
||||
|
@ -2108,9 +2108,9 @@ private:
|
|||
XMLNode* _bundle_xml_node;
|
||||
int load_bundles (XMLNode const &);
|
||||
|
||||
UndoHistory _history;
|
||||
PBD::UndoHistory _history;
|
||||
/** current undo transaction, or 0 */
|
||||
UndoTransaction* _current_trans;
|
||||
PBD::UndoTransaction* _current_trans;
|
||||
/** GQuarks to describe the reversible commands that are currently in progress.
|
||||
* These may be nested, in which case more recently-started commands are toward
|
||||
* the front of the list.
|
||||
|
|
|
@ -39,6 +39,8 @@
|
|||
#include "pbd/command.h"
|
||||
#include "pbd/libpbd_visibility.h"
|
||||
|
||||
namespace PBD {
|
||||
|
||||
typedef sigc::slot<void> UndoAction;
|
||||
|
||||
class LIBPBD_API UndoTransaction : public PBD::Command
|
||||
|
@ -140,4 +142,6 @@ private:
|
|||
void remove (UndoTransaction*);
|
||||
};
|
||||
|
||||
} /* namespace */
|
||||
|
||||
#endif /* __lib_pbd_undo_h__ */
|
||||
|
|
Loading…
Reference in New Issue