Initial
This commit is contained in:
37
uuencode/uuencode.hpp~
Normal file
37
uuencode/uuencode.hpp~
Normal file
@@ -0,0 +1,37 @@
|
||||
#ifndef _SMTP_UUENCODE_HPP_
|
||||
#define _SMTP_UUENCODE_HPP_
|
||||
#ifndef _COMMON_WINDOWS_HPP_
|
||||
#include <common/windows.hpp>
|
||||
#endif
|
||||
|
||||
template <class T>
|
||||
class Block;
|
||||
class String;
|
||||
//class GUIWindow;
|
||||
|
||||
class UUEncode
|
||||
{
|
||||
public:
|
||||
UUEncode(void);
|
||||
virtual ~UUEncode();
|
||||
BOOL encode(String srcPathFileName,Block<String> &lineStrings,BOOL initBlock=TRUE)const;
|
||||
private:
|
||||
BYTE chEncode(int ch)const;
|
||||
};
|
||||
|
||||
inline
|
||||
UUEncode::UUEncode(void)
|
||||
{
|
||||
}
|
||||
|
||||
inline
|
||||
UUEncode::~UUEncode()
|
||||
{
|
||||
}
|
||||
|
||||
inline
|
||||
BYTE UUEncode::chEncode(int ch)const
|
||||
{
|
||||
return (ch?(ch&0x3F)+' ':'`');
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user