Posts tagged: void

void gosleep(date time, bool havework)

author | 25. Februar 2008

[cpp]
{
if (havework && time->hour > 25) {
if (self->cantsleep){
// TODO: implement algorithm for forcesleep()
}else {
shutdown();
}
}
}
[/cpp]