mirror of
https://github.com/yokemura/Magical8bitPlug2.git
synced 2025-05-24 23:00:21 -04:00
38 lines
1.2 KiB
C
38 lines
1.2 KiB
C
/*
|
|
==============================================================================
|
|
|
|
FrameSequenceParseErrors.h
|
|
Created: 11 Dec 2019 5:06:52pm
|
|
Author: 除村 武志
|
|
|
|
==============================================================================
|
|
*/
|
|
|
|
#pragma once
|
|
#include "../JuceLibraryCode/JuceHeader.h"
|
|
|
|
enum ParseError
|
|
{
|
|
kParseErrorNone = 0,
|
|
kParseErrorLevelWarning,
|
|
kParseErrorLevelFatal,
|
|
kParseErrorDuplicatedReleaseDelimiter,
|
|
kParseErrorDuplicatedOpenBracket,
|
|
kParseErrorDuplicatedCloseBracket,
|
|
kParseErrorRepeatingInReleaseBlock,
|
|
kParseErrorUnmatchingOpenBracket,
|
|
kParseErrorUnmatchingCloseBracket,
|
|
kParseErrorUnmatchingBracketNumber,
|
|
kParseErrorMissingSlopeValueDelimiter,
|
|
kParseErrorMissingSlopeLengthDelimiter,
|
|
kParseErrorMissingSlopeInitialValue,
|
|
kParseErrorMissingSlopeFinalValue,
|
|
kParseErrorNotANumber,
|
|
kParseErrorValueOutOfRange,
|
|
kParseErrorFrameLengthTooShort,
|
|
kParseErrorMissingValueForRepeatDelimiter,
|
|
kParseErrorMissingFrameCountForRepeatDelimiter,
|
|
};
|
|
|
|
String getParseErrorString (ParseError err, int minValue = 0, int maxValue = 0);
|