From f1362c78a1bc40382d0a929707d46bd30031d0e9 Mon Sep 17 00:00:00 2001 From: Samuel Dunn Date: Fri, 23 Jun 2017 18:25:25 -0700 Subject: [PATCH] Complete transfer of usable method declarations in imaggif.h and fix a typo in imagtiff.h --- interface/wx/imaggif.h | 9 +++++++++ interface/wx/imagtiff.h | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/interface/wx/imaggif.h b/interface/wx/imaggif.h index c23c218d5b..7e04c604a2 100644 --- a/interface/wx/imaggif.h +++ b/interface/wx/imaggif.h @@ -45,11 +45,20 @@ public: bool verbose = true, int delayMilliSecs = 1000); protected: + // allow parent class documentation to overwrite. virtual int DoGetImageCount(wxInputStream& stream); virtual bool DoCanRead(wxInputStream& stream); + // TODO: document these as necessary bool DoSaveFile(const wxImage&, wxOutputStream *, bool verbose, bool first, int delayMilliSecs, bool loop, const wxRGB *pal, int palCount, int mask_index); + bool InitHashTable(); + void ClearHashTable(); + void InsertHashTable(unsigned long key, int code); + int ExistsHashTable(unsigned long key); + bool CompressOutput(wxOutputStream *, int code); + bool SetupCompress(wxOutputStream *, int bpp); + bool CompressLine(wxOutputStream *, const wxUint8 *line, int lineLen); }; \ No newline at end of file diff --git a/interface/wx/imagtiff.h b/interface/wx/imagtiff.h index 409249dc4f..193e6e4035 100644 --- a/interface/wx/imagtiff.h +++ b/interface/wx/imagtiff.h @@ -45,6 +45,6 @@ public: protected: virtual bool SaveFile(wxImage *image, wxOutputStream& stream, bool verbose=true); virtual int DoGetImageCount(wxInputStream& stream); - virutal bool DoCanRead(wxInputStream& stream); + virtual bool DoCanRead(wxInputStream& stream); };