Corrections et développement. V1.01
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
#include "GeneralSystemParams.h"
|
||||
|
||||
CGeneralSystemParams::CGeneralSystemParams()
|
||||
{
|
||||
mLocalLogVerbosity = 1;
|
||||
mLogFileVerbosity = 0;
|
||||
}
|
||||
|
||||
QDataStream &operator>>(QDataStream &in, CGeneralSystemParams &dest)
|
||||
{
|
||||
in >> dest.mLocalLogVerbosity
|
||||
>> dest.mLogFileVerbosity;
|
||||
|
||||
|
||||
return in;
|
||||
}
|
||||
QDataStream &operator<<(QDataStream &out, const CGeneralSystemParams &source)
|
||||
{
|
||||
out << source.mLocalLogVerbosity
|
||||
<< source.mLogFileVerbosity;
|
||||
|
||||
return out;
|
||||
}
|
||||
|
||||
CGeneralSystemParams& CGeneralSystemParams::operator=(const CGeneralSystemParams &source)
|
||||
{
|
||||
if(&source == this)
|
||||
{
|
||||
return *this;
|
||||
}
|
||||
|
||||
this->mLocalLogVerbosity = source.mLocalLogVerbosity;
|
||||
this->mLogFileVerbosity = source.mLogFileVerbosity;
|
||||
|
||||
return *this;
|
||||
}
|
||||
Reference in New Issue
Block a user