13
0

Remove unused code.

git-svn-id: svn://localhost/ardour2/branches/3.0@8532 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-01-19 01:02:06 +00:00
parent 0d4d585939
commit 253b652344
2 changed files with 0 additions and 20 deletions

View File

@ -668,9 +668,6 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi
void begin_reversible_command (const std::string& cmd_name);
void commit_reversible_command (Command* cmd = 0);
UndoTransaction* start_reversible_command (const std::string& cmd_name);
void finish_reversible_command (UndoTransaction&);
void add_command (Command *const cmd) {
assert(!_current_trans.empty ());
_current_trans.top()->add_command (cmd);

View File

@ -2353,23 +2353,6 @@ Session::all_route_group() const
return *_all_route_group;
}
UndoTransaction*
Session::start_reversible_command (const string& name)
{
UndoTransaction* trans = new UndoTransaction();
trans->set_name(name);
return trans;
}
void
Session::finish_reversible_command (UndoTransaction& ut)
{
struct timeval now;
gettimeofday(&now, 0);
ut.set_timestamp(now);
_history.add (&ut);
}
void
Session::add_commands (vector<Command*> const & cmds)
{