#ifndef _YPROXY_NEWSDECODER_HPP_ #define _YPROXY_NEWSDECODER_HPP_ #ifndef _COMMON_STRING_HPP_ #include #endif #ifndef _COMMON_BLOCK_HPP_ #include #endif #ifndef _COMMON_FILE_HPP_ #include #endif class NewsDecoder { public: static bool decode(const String &pathFileName,Block &uuencodedText); static bool decode(const String &messageID,Block &articleText,Block &uuencodedText); private: static bool isYEnc(Block &articleText,int &beginIndex,int &endIndex); }; #endif