Posts tagged: c#

void gosleep(date time, bool havework)

authorOmar | 25. Februar 2008

C++:
  1. {
  2.     if (havework && time->hour> 25) {
  3.         if (self->cantsleep){
  4.             // TODO: implement algorithm for forcesleep()
  5.         }else {
  6.             shutdown();
  7.         }
  8.     }
  9. }