--- smsdaemon/TaskManager.cpp 2008/12/06 19:30:20 129 +++ smsdaemon/TaskManager.cpp 2008/12/07 20:58:41 149 @@ -5,6 +5,9 @@ #include +#include "tasks/SpoolTask.h" + + TaskManager::TaskManager() : _lastExecuted(0) { @@ -23,6 +26,7 @@ void TaskManager::LoadTasks() { + static SpoolTask task; //print the loaded tasks std::map::iterator it; @@ -60,7 +64,7 @@ } -void TaskManager::ExecuteTasks(IGsmModem& modem) +void TaskManager::ExecuteTasks(ISmsTransceiver& modem) { const int SLEEP_TIME = 10; //wait at least 10 seconds between executions int now = time(0);