00001 #if (!defined(__ARRIEREGO_H)) && defined(USENEF) 00002 #define __ARRIEREGO_H 00003 #include "plucker_base.h" 00004 00005 #ifdef LOCALPICTURES 00006 class QScrollView; 00007 class QWidget; 00008 #endif 00009 00010 class CArriere : public CPlucker_base 00011 { 00012 protected: 00013 bool isEndOfSection(int thisrec) 00014 { 00015 return !m_bufferisreserved; 00016 } 00017 unsigned long NEFstartSection(); 00018 unsigned long NEFendSection(); 00019 void setbuffersize() 00020 { 00021 compressedbuffersize = buffersize = 64*1024; 00022 } 00023 void GetHeader(UInt16&, UInt16&, UInt32&, UInt8&, UInt8&); 00024 int HeaderSize(); 00025 int bgetch(); 00026 tchar getch(bool); 00027 00028 bool CorrectDecoder(); 00029 // void setlink(QString&, const QString&); 00030 QImage* imagefromdata(UInt8*, UInt32); 00031 unsigned char m_reserved; 00032 public: 00033 void start2endSection(); 00034 QString about() { return CPlucker_base::about()+QString("\nArriereGo codec (c) Tim Wentford"); } 00035 }; 00036 00037 #endif
1.4.2