43 lines
444 B
C++
43 lines
444 B
C++
|
/*
|
||
|
* This file is a part of CMSLU -- Content Management System like Unix
|
||
|
* and is not publicly distributed
|
||
|
*
|
||
|
* Copyright (c) 2008, Tomasz Sowa
|
||
|
* All rights reserved.
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#include "done.h"
|
||
|
|
||
|
|
||
|
Done::Done()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
|
||
|
Done::Done(Code c) : code(c)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
|
||
|
Done & Done::operator=(Code c)
|
||
|
{
|
||
|
code = c;
|
||
|
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
|
||
|
bool Done::operator==(Code c) const
|
||
|
{
|
||
|
return code == c;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
bool Done::operator!=(Code c) const
|
||
|
{
|
||
|
return code != c;
|
||
|
}
|
||
|
|