delete derived objects using MultiTask *. git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@104 d34b734f-a00e-4b39-a726-e4eeb87269abadeniz_1
class MultiTask { | class MultiTask { | ||||
public: | public: | ||||
enum class State{Running, Waiting, Finished}; | enum class State{Running, Waiting, Finished}; | ||||
virtual ~MultiTask() {} | |||||
virtual State task() = 0; | virtual State task() = 0; | ||||
}; | }; | ||||