#ifndef PALETTEPARSER_H #define PALETTEPARSER_H #include #include #include class PaletteParser { public: PaletteParser(); QList parse(QString filepath, bool *error); private: QList parsePal(QString filepath, bool *error); QList parseJASC(QString filepath, bool *error); QList parseAdvanceMapPal(QString filepath, bool *error); QList parseAdobeColorTable(QString filepath, bool *error); QList parseTileLayerPro(QString filepath, bool *error); QList parseAdvancePaletteEditor(QString filepath, bool *error); int clampColorValue(int value); }; #endif // PALETTEPARSER_H