Initial
This commit is contained in:
17
yproxy/ydecode.hpp
Normal file
17
yproxy/ydecode.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user