winamp/Src/external_dependencies/openmpt-trunk/include/unrar/encname.hpp

20 lines
408 B
C++
Raw Permalink Normal View History

2024-09-24 13:54:57 +01:00
#ifndef _RAR_ENCNAME_
#define _RAR_ENCNAME_
class EncodeFileName
{
private:
void AddFlags(byte Value,byte *EncName);
byte Flags;
uint FlagBits;
size_t FlagsPos;
size_t DestSize;
public:
EncodeFileName();
size_t Encode(char *Name,wchar *NameW,byte *EncName);
void Decode(char *Name,size_t NameSize,byte *EncName,size_t EncSize,wchar *NameW,size_t MaxDecSize);
};
#endif