/*
- Copyright (C) 2000-2007 Paul Davis
+ Copyright (C) 2000-2007 Paul Davis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#define __ardour_session_object_h__
#include <string>
-#include "pbd/statefuldestructible.h"
+#include "pbd/statefuldestructible.h"
namespace ARDOUR {
*
* This is a few common things factored out of IO which weren't IO specific
* (to fix the problem with e.g. PluginInsert being an IO which it shouldn't be).
- * collection of input and output ports with connections.
*/
class SessionObject : public PBD::StatefulDestructible
{
: _session(session)
, _name(name)
{}
-
+
Session& session() const { return _session; }
const std::string& name() const { return _name; }
-
+
virtual bool set_name (const std::string& str) {
if (_name != str) {
_name = str;
}
return true;
}
-
+
sigc::signal<void> NameChanged;
protected: