Music Player Library for YMZ294 Sound Generator LSI

Dependents:   Workshop_SSG

MusicString.h

Committer:
yamaguch
Date:
2011-07-06
Revision:
0:85d8bf9fb6fe

File content as of revision 0:85d8bf9fb6fe:

#ifndef MBED_MUSIC_STRING_H
#define MBED_MUSIC_STRING_H

#include "Note.h"

class MusicString {
public:
    MusicString(const char *s = 0);
    MusicString(const MusicString& ms);
    bool isNull();
    Note getNextNote();
    bool hasMoreNote();
    void rewind();

private:
    const char *mstring;
    const char *current;
};

#endif