#ifndef _GUITAR_MIDIHELPER_HPP_ #define _GUITAR_MIDIHELPER_HPP_ #ifndef _COMMON_BLOCK_HPP_ #include #endif #ifndef _COMMON_STRING_HPP_ #include #endif #ifndef _MUSIC_NOTE_HPP_ #include #endif #ifndef _GUITAR_TABENTRY_HPP_ #include #endif #ifndef _GUITAR_FRETBOARD_HPP_ #include #endif #ifndef _MIDISEQ_TRACKINFO_HPP_ #include #endif class MIDIHelper { public: MIDIHelper(); virtual ~MIDIHelper(); // bool import(const String &strPathMidiFileName,const String &strPathTabFileName); bool import(const String &strPathMidiFileName,Block &strPathTabFileNames); bool import(const String &strPathMidiFileName,const String &strPathTabFileName,int selectedTrack); bool getTrackInfo(const String &strpathMIDIFileName,TrackInfos &trackInfos); private: bool createEntry(Block ¬es,TabEntry &entry); bool filterNotesOnFretboard(Block ¬es); Fretboard mFretboard; Block mMessages; }; inline MIDIHelper::MIDIHelper() { } inline MIDIHelper::~MIDIHelper() { } #endif