www.pudn.com > Ftpwork > NetState.cpp
#include "NetState.h"
#include "String.h"
//##ModelId=3DB1F8690066
BOOL NetState::IsOk()
{
return isNetOk;
}
//##ModelId=3DB1F8B2021A
String* NetState::GetErrorInfo()
{
return & stateInfo;
}
//##ModelId=3DB2288800BA
NetState::NetState()
{
}
void NetState::SetState(BOOL isok)
{
isNetOk=isok;
}
void NetState::SetErrorInfo(char* info)
{
stateInfo = info;
}