00001 #ifndef HEADER_COMMAND_H 00002 #define HEADER_COMMAND_H 00003 00004 00005 /** 00006 * Command interface. 00007 */ 00008 class Command { 00009 public: 00010 virtual ~Command() {} 00011 /** 00012 * Return true when command has finished his work. 00013 * @param count number of calls 00014 * @return true for finish 00015 */ 00016 virtual bool finish(int count) = 0; 00017 }; 00018 00019 #endif