#ifndef _GUITAR_TIMING_HPP_ #define _GUITAR_TIMING_HPP_ #ifndef _COMMON_STRING_HPP_ #include #endif #ifndef _GUITAR_NOTETYPE_HPP_ #include #endif class Timing { public: static int microsecondsPerQuarterNote(int microsecondsPerQuarterNote); static int microsecondsPerQuarterNote(void); static void secondsPerQuarterNote(float secondsPerQuarterNote); static int millisecondsPerWholeNote(void); static int millisecondsPerHalfNote(void); static int millisecondsPerQuarterNote(void); static int millisecondsPerEightNote(void); static int millisecondsPerSixteenthNote(void); static int millisecondsPerThirtySecondNote(void); static int millisecondsPerSixtyFourthNote(void); static int getDelay(const NoteType ¬eType); static String toString(void); private: Timing(); virtual ~Timing(); static int mMicrosecondsPerQuarterNote; static int mMillisecondsPerWholeNote; static int mMillisecondsPerHalfNote; static int mMillisecondsPerQuarterNote; static int mMillisecondsPerEigthNote; static int mMillisecondsPerSixteenthNote; static int mMillisecondsPerThirtySecondNote; static int mMillisecondsPerSixtyFourthNote; }; inline Timing::Timing() { } inline Timing::~Timing() { } #endif