#ifndef _SERVICEWINDOWGENERATIONFROMTEXT_H #define _SERVICEWINDOWGENERATIONFROMTEXT_H #include "serviceWindowGeneration.h" /*FIXME: está restrito a 2K bytes de texto */ #define MAX_TEXT_SIZE 2048 class ServiceWindowGenerationFromText : public ServiceWindowGeneration, public Thread { private: char* path_file; char* text_buff; bool alive; char* client_type; int readTextFile(); public: ServiceWindowGenerationFromText (char* _path_file, char* _video_path_file, int _transp, int _serviceType, char* _client_type); ~ServiceWindowGenerationFromText (); void notificaTradutor(char *legenda); void initialize(); bool isAlive(); void Run(); void transcodeVideoToWebm(); }; #endif /* _SERVICEWINDOWGENERATIONFROMTEXT_H */