mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 20:29:35 +01:00
Remove some unnecessary Session dependency
This commit is contained in:
parent
b58c22c1be
commit
e17d20054a
11 changed files with 16 additions and 18 deletions
|
|
@ -27,10 +27,6 @@
|
|||
|
||||
#include "canvas/container.h"
|
||||
|
||||
namespace ARDOUR {
|
||||
class Session;
|
||||
}
|
||||
|
||||
namespace ArdourSurface {
|
||||
|
||||
class Push2;
|
||||
|
|
@ -38,7 +34,7 @@ class Push2;
|
|||
class Push2Layout : public sigc::trackable, public ArdourCanvas::Container
|
||||
{
|
||||
public:
|
||||
Push2Layout (Push2& p, ARDOUR::Session& s, std::string const & name);
|
||||
Push2Layout (Push2& p, std::string const & name);
|
||||
virtual ~Push2Layout ();
|
||||
|
||||
int display_width () const;
|
||||
|
|
@ -67,7 +63,6 @@ class Push2Layout : public sigc::trackable, public ArdourCanvas::Container
|
|||
|
||||
protected:
|
||||
Push2& p2;
|
||||
ARDOUR::Session& session;
|
||||
std::string _name;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue