#ifndef _YPROXY_YDECODE_HPP_ #define _YPROXY_YDECODE_HPP_ class File; class String; class YDecoder { public: typedef enum Method{ForceDecode,AbortOnError}; static bool decode(const String &pathFileName,String &strPathImageFile,Method method=AbortOnError); static bool isYEnc(const String &pathFileName); private: YDecoder(void); static void packFile(File &outFile,int byteCount); }; #endif