26 lines
481 B
C++
26 lines
481 B
C++
#ifndef PNGCHUNKTEXT_H
|
|
#define PNGCHUNKTEXT_H
|
|
|
|
#include "include/png/PNGChunk.hpp"
|
|
|
|
class PNGChunkTEXT : public PNGChunk{
|
|
|
|
private:
|
|
|
|
unsigned char* keyword=0;
|
|
unsigned char* text=0;
|
|
|
|
public:
|
|
|
|
PNGChunkTEXT(unsigned int chunkLength, unsigned int chunkType, const unsigned char* chunkData, unsigned int crc32);
|
|
|
|
const unsigned char* getKeyword();
|
|
|
|
const unsigned char* getText();
|
|
|
|
~PNGChunkTEXT();
|
|
|
|
};
|
|
|
|
#endif // PNGCHUNKTEXT_H
|