diff options
Diffstat (limited to 'libs/surfaces/mackie/surface_port.h')
-rw-r--r-- | libs/surfaces/mackie/surface_port.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/surfaces/mackie/surface_port.h b/libs/surfaces/mackie/surface_port.h index c060e52d93..87419f1bcd 100644 --- a/libs/surfaces/mackie/surface_port.h +++ b/libs/surfaces/mackie/surface_port.h @@ -38,10 +38,12 @@ class SurfacePort : public sigc::trackable { public: SurfacePort( MIDI::Port & port, int number ); - virtual ~SurfacePort() {} + virtual ~SurfacePort(); // when this is successful, active() should return true virtual void open() = 0; + + // subclasses should call this before doing their own close virtual void close() = 0; /// read bytes from the port. They'll either end up in the |