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:
cxl 2015-01-02 15:00:22 +00:00
parent 6373324b68
commit f0bef0f585
3 changed files with 11 additions and 1 deletions

View file

@ -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

View file

@ -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

View file

@ -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