summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/stripable.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-08-15 16:37:44 +0200
committerRobin Gareus <robin@gareus.org>2016-08-15 16:37:44 +0200
commit46cbb9084e124e971427b7c982b20c86a5fb2f1a (patch)
treed9a91d8dad9944de8f3219f41c9ffcfc1383929e /libs/ardour/ardour/stripable.h
parente2466621bc4e4bf9f4555e9ea98ce1b24da1916b (diff)
Expose Stripable Color & Ordering API to Lua
We can't easily use C++ references with Lua closures, so new API (pointer to PresentationInfo) was added.
Diffstat (limited to 'libs/ardour/ardour/stripable.h')
-rw-r--r--libs/ardour/ardour/stripable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ardour/stripable.h b/libs/ardour/ardour/stripable.h
index 2464dddab9..942b48815b 100644
--- a/libs/ardour/ardour/stripable.h
+++ b/libs/ardour/ardour/stripable.h
@@ -73,6 +73,7 @@ class LIBARDOUR_API Stripable : public SessionObject {
PresentationInfo const & presentation_info () const { return _presentation_info; }
PresentationInfo& presentation_info () { return _presentation_info; }
+ PresentationInfo* presentation_info_ptr () { return &_presentation_info; }
/* set just the order */