summaryrefslogtreecommitdiff
path: root/muse2/muse/instruments/minstrument.h
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2012-08-01 21:23:34 +0000
committerTim E. Real <termtech@rogers.com>2012-08-01 21:23:34 +0000
commit004af724045ae8b8a0be1152b4de755f34b1b053 (patch)
tree84bd4b2de61900de081160442e6a860871bd3cb1 /muse2/muse/instruments/minstrument.h
parentf45bff39714939eb105b2830317ec4de77bf2bb7 (diff)
Finished the Sysex Editor in the Instrument Editor.
Create, delete, save named instrument sysexes. Does nothing more for now.
Diffstat (limited to 'muse2/muse/instruments/minstrument.h')
-rw-r--r--muse2/muse/instruments/minstrument.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/muse2/muse/instruments/minstrument.h b/muse2/muse/instruments/minstrument.h
index 4d5ad8c2..6b534672 100644
--- a/muse2/muse/instruments/minstrument.h
+++ b/muse2/muse/instruments/minstrument.h
@@ -78,10 +78,14 @@ struct SysEx {
QString comment;
int dataLen;
unsigned char* data;
+ bool read(Xml&);
+ void write(int level, Xml&);
+
+ SysEx();
+ SysEx(const SysEx& src);
+ ~SysEx();
};
-
-
struct patch_collection_t
{
int first_program;
@@ -262,8 +266,5 @@ extern void removeMidiInstrument(const MidiInstrument* instr);
} // namespace MusECore
-//namespace MusEGui {
-//extern void populatePatchPopup(MusECore::MidiInstrument*, PopupMenu*, int, MType, bool); DELETETHIS
-//}
#endif