+ void Print( std::ostream &os = std::cout, std::string const &indent = "" );
+
+ void DecompressFromFile(std::ifstream *fp, uint8_t *buffer, int nBits,
+ int numBytes, int length);
+
+ void AddFragment(JPEGFragment *fragment);
+ JPEGFragment *GetFirstFragment();
+ JPEGFragment *GetNextFragment();
+ unsigned int GetFragmentCount();
+
+//private:
+ typedef std::list<JPEGFragment *> JPEGFragmentsList;
+
+ //Some mathieu hack:
+ int StateSuspension;
+ void *SampBuffer;
+ char *pimage;
+ JPEGFragmentsList Fragments;
+ JPEGFragmentsList::iterator ItFragments;