#include "boxstack.h"
#include "command.h"
#include "wol.h"
+#include "vsleeptimer.h"
void sighandler(int signalReceived);
void shutdown(int code);
Video* video;
Audio* audio;
Wol* wol;
+Sleeptimer* sleeptimer;
+
bool wnd_fullscreen=false;
bool wnd_topmost=false;
boxstack = new BoxStack();
command = new Command();
wol = new Wol();
+ sleeptimer = new Sleeptimer();
- if (!logger || !remote || !mtd || !led || !osd || !video || !audio || !boxstack || !command)
+ if (!logger || !remote || !mtd || !led || !osd || !video || !audio || !boxstack || !command || !sleeptimer)
{
ERROR_MSG("Could not create objects. Memory problems?\n");
shutdown(1);
logger->shutdown();
delete logger;
}
+ if (sleeptimer)
+ {
+ delete sleeptimer;
+ logger->log("Core", Log::NOTICE, "Sleeptimer module shut down");
+ }
ExitProcess(0);
}