mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-31 07:12:39 -06:00
Core/POP3: Now in Upp namespace
git-svn-id: svn://ultimatepp.org/upp/trunk@8019 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
6373324b68
commit
f0bef0f585
3 changed files with 11 additions and 1 deletions
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
#define LLOG(x) // DLOG(x)
|
||||
|
||||
NAMESPACE_UPP
|
||||
|
||||
String QDecode(const String& s)
|
||||
{
|
||||
String r, begin, end, chs, enc, txt;
|
||||
|
|
@ -350,3 +352,5 @@ String FormatMessageIDs(const Index<String>& id)
|
|||
}
|
||||
return r;
|
||||
}
|
||||
|
||||
END_UPP_NAMESPACE
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
#include "POP3.h"
|
||||
|
||||
NAMESPACE_UPP
|
||||
|
||||
static bool sPop3Trace;
|
||||
#define LLOG(x) do { if(sPop3Trace) RLOG(CompressLog(String().Cat() << x)); } while(0)
|
||||
|
||||
|
|
@ -252,3 +254,5 @@ Pop3::~Pop3()
|
|||
{
|
||||
Logout();
|
||||
}
|
||||
|
||||
END_UPP_NAMESPACE
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <Core/Core.h>
|
||||
|
||||
using namespace Upp;
|
||||
NAMESPACE_UPP
|
||||
|
||||
class Pop3 : public TcpSocket
|
||||
{
|
||||
|
|
@ -110,4 +110,6 @@ struct MIMEHeader {
|
|||
Index<String> ParseMessageIDs(const String& s);
|
||||
String FormatMessageIDs(const Index<String>& id);
|
||||
|
||||
END_UPP_NAMESPACE
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue