hi,
While inheriting from SkStream class (i implement the read and rewind virtual functions in the derived class) i am getting a compiler error of "no typeinfo for SkStream".
My class definition is class SkiaStream: public SkStream.
However, when i try to follow the same pattern as SkMemoryStream, and add the lines
SK_Declare_Inst_count(SkiaStream) SkStream();
and private :typedef SkStream INHERITED;.
i get errors for INHERITED being private.
Can someone help me understand what is the purpose of SK_Declare_inst_count and the typedef are?
Also how do i successfully inherit from SkStream?