Guest User

Untitled

a guest
Jan 11th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.36 KB | None | 0 0
  1.  
  2. class Decompressor
  3. {
  4. protected:
  5.     ImgWithParam* img;
  6. public:
  7.     Decompressor(ImgWithParam* img): img(img){};
  8.     virtual void decompress()=0;
  9. };
  10.  
  11. class XdDecompressor : public Decompressor
  12. {
  13.     const Dictionary* dictionary;
  14. public:
  15.     XdDecompressor(ImgWithParam* img, const Dictionary* dict): XdDecompressor(img), dictionary(dict){};
  16.     void decompress() override;
  17. };
Advertisement
Add Comment
Please, Sign In to add comment