#ifndef _YPROXY_PDECODE_HPP_ #define _YPROXY_PDECODE_HPP_ class PureDecoder { public: PureDecoder(); int yDecode(FILE * fOut, FILE * fIn, long y_line, long y_size,int y_part); protected: virtual void error(const String &error); virtual void display(const String &string); private: static char *ad_fgetscr(char * buffer, int maxlen, FILE * fp); static unsigned long hex_to_ulong(char * text); PureDecoder(const PureDecoder &pureDecoder); PureDecoder &operator=(const PureDecoder &pureDecoder); int AddPart(char * srcname,long y_begin, long y_end); int mErrors; int mErrParts; int mErrFiles; bool mDisplay; long myBegin; long myEnd; char mAttName[260]; char mAtText[260]; unsigned long mAdResCrc; unsigned long mAdResLen; }; inline PureDecoder::PureDecoder(const PureDecoder &pureDecoder) { // private } inline PureDecoder &PureDecoder::operator=(const PureDecoder &pureDecoder) { // private return *this; } #endif