Skia
2DGraphicsLibrary
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
SkPngChunkReader.h
1
/*
2
* Copyright 2015 Google Inc.
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#ifndef SkPngChunkReader_DEFINED
9
#define SkPngChunkReader_DEFINED
10
11
#include "
SkTypes.h
"
12
#include "SkRefCnt.h"
13
21
class
SkPngChunkReader
:
public
SkRefCnt
{
22
public
:
43
virtual
bool
readChunk
(
const
char
tag[],
const
void
* data,
size_t
length) = 0;
44
};
45
#endif // SkPngChunkReader_DEFINED
SkPngChunkReader::readChunk
virtual bool readChunk(const char tag[], const void *data, size_t length)=0
This will be called by the decoder when it sees an unknown chunk.
SkRefCnt
Definition:
SkRefCnt.h:125
SkPngChunkReader
SkPngChunkReader.
Definition:
SkPngChunkReader.h:21
SkTypes.h