make Mackie::Surface keep a reference to the input source+channel and clean up in destructor

This commit is contained in:
Paul Davis 2015-10-08 21:23:48 -04:00
parent ce03b02a79
commit 7e10c21468
3 changed files with 47 additions and 6 deletions

View file

@ -202,6 +202,12 @@ public:
int connection_state;
MidiByteArray display_line (std::string const& msg, int line_num);
public:
/* IP MIDI devices need to keep a handle on these */
GIOChannel* input_channel;
GSource* input_source;
};
}