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