X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=retrace%2Fjson.hpp;h=2c555dbb1e906bd361b73732a50e9dae6c23796a;hb=6083cfc0885f162b532825b23639f0ec2fe285c2;hp=94338008a3f1ac853389187ff3934997f1fc768f;hpb=17a4541d67c73d413c9e8f8751cd9c2573933aef;p=apitrace diff --git a/retrace/json.hpp b/retrace/json.hpp index 9433800..2c555db 100644 --- a/retrace/json.hpp +++ b/retrace/json.hpp @@ -47,6 +47,11 @@ #include +namespace image { + class Image; +} + + class JSONWriter { private: @@ -177,6 +182,9 @@ public: writeInt(n); endMember(); } + + void + writeImage(image::Image *image, const char *format, unsigned depth = 1); }; #endif /* _JSON_HPP_ */