summaryrefslogtreecommitdiff
path: root/gtk2_ardour/selection.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-08-10 19:29:29 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-08-10 19:29:29 +0000
commit0bf3eb77591afc4aa8d0d6b5efa72273f02b109e (patch)
treeca49bb8ef0ef1ffd6df3adaa3c835b35cf6f2f16 /gtk2_ardour/selection.h
parent7f9aea14e926a58f86ffdc788e4873dcf41a6d2c (diff)
first part of MIDI cut/copy/paste ; fix for input/output_streams of an IOProcessor being reported in a misleading way; in/out translation fix from 2.X, sort of
git-svn-id: svn://localhost/ardour2/branches/3.0@5510 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/selection.h')
-rw-r--r--gtk2_ardour/selection.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/gtk2_ardour/selection.h b/gtk2_ardour/selection.h
index 6107e2970a..9278935e31 100644
--- a/gtk2_ardour/selection.h
+++ b/gtk2_ardour/selection.h
@@ -33,11 +33,13 @@
#include "processor_selection.h"
#include "point_selection.h"
#include "marker_selection.h"
+#include "midi_selection.h"
class TimeAxisView;
class RegionView;
class Selectable;
class PublicEditor;
+class MidiRegionView;
namespace ARDOUR {
class Region;
@@ -77,6 +79,7 @@ class Selection : public sigc::trackable
PlaylistSelection playlists;
PointSelection points;
MarkerSelection markers;
+ MidiSelection midi;
Selection (PublicEditor const * e) : editor (e), next_time_id (0) {
clear();
@@ -91,6 +94,7 @@ class Selection : public sigc::trackable
sigc::signal<void> PlaylistsChanged;
sigc::signal<void> PointsChanged;
sigc::signal<void> MarkersChanged;
+ sigc::signal<void> MidiChanged;
void clear ();
bool empty();
@@ -108,6 +112,7 @@ class Selection : public sigc::trackable
void set (TimeAxisView*);
void set (const std::list<TimeAxisView*>&);
void set (RegionView*, bool also_clear_tracks = true);
+ void set (MidiRegionView*);
void set (std::vector<RegionView*>&);
long set (TimeAxisView*, nframes_t, nframes_t);
void set (boost::shared_ptr<Evoral::ControlList>);
@@ -120,6 +125,7 @@ class Selection : public sigc::trackable
void toggle (TimeAxisView*);
void toggle (const std::list<TimeAxisView*>&);
void toggle (RegionView*);
+ void toggle (MidiRegionView*);
void toggle (std::vector<RegionView*>&);
long toggle (nframes_t, nframes_t);
void toggle (ARDOUR::AutomationList*);
@@ -131,6 +137,7 @@ class Selection : public sigc::trackable
void add (TimeAxisView*);
void add (const std::list<TimeAxisView*>&);
void add (RegionView*);
+ void add (MidiRegionView*);
void add (std::vector<RegionView*>&);
long add (nframes_t, nframes_t);
void add (boost::shared_ptr<Evoral::ControlList>);
@@ -139,10 +146,10 @@ class Selection : public sigc::trackable
void add (Marker*);
void add (const std::list<Marker*>&);
void add (const RegionSelection&);
-
void remove (TimeAxisView*);
void remove (const std::list<TimeAxisView*>&);
void remove (RegionView*);
+ void remove (MidiRegionView*);
void remove (uint32_t selection_id);
void remove (nframes_t, nframes_t);
void remove (boost::shared_ptr<ARDOUR::AutomationList>);
@@ -160,6 +167,7 @@ class Selection : public sigc::trackable
void clear_playlists ();
void clear_points ();
void clear_markers ();
+ void clear_midi ();
void foreach_region (void (ARDOUR::Region::*method)(void));
void foreach_regionview (void (RegionView::*method)(void));