--- smsdaemon/Task.h 2008/06/16 14:04:19 96 +++ smsdaemon/Task.h 2008/12/07 20:58:41 149 @@ -3,15 +3,15 @@ #include -class IGsmModem; +class ISmsTransceiver; /* A Task is some piece of code that must be executed regularly, no matter whether * the daemon has received any SMS. * - * Tasks exist in two flavours: normal and temporary. + * Tasks exist in two flavours: persistant and temporary. * - * A normal task is one which lives throughout the execution of the smsdaemon instance. - * A pointer to a normal tasks can be retrieved via TaskManager::GetTask(std::string name), + * A persistant task is one which lives throughout the execution of the smsdaemon instance. + * A pointer to a persistant task can be retrieved via TaskManager::GetTask(std::string name), * and thus it must have a unique name. * * A temporary tasks is of a more short-lived nature. It behaves like a fire-and-forget piece of code. @@ -30,7 +30,7 @@ std::string GetName() {return _name;} - virtual void ExecuteTask(IGsmModem& modem) = 0; + virtual void ExecuteTask(ISmsTransceiver& modem) = 0; bool IsTemporary() { return _isTemporary; } bool IsFinished() { return _isFinished; }