/* * File: fileInput.h * Author: leonardo * * Created on 6 de Janeiro de 2012, 11:11 */ #ifndef INPUTFILE_H #define INPUTFILE_H #include #include #include "logger.h" #include "ouvinteInput.h" #include "inputException.h" #include "dprintf.h" using namespace std; class InputFile { public: static const int MAX_SIZE_PACKET = 188; bool finished; InputFile(char* path); ~InputFile(); void initialize(); void registraOuvinte(OuvinteInput *ouvinte); void removeOuvinte(OuvinteInput *ouvinte); void notificaOuvintes(unsigned char * pacote); bool isFinished(); //void notificaQuantidadeGlosas(int quantidade); private: char * path; list *ouvintes; }; #endif /* INPUTFILE_H */