]> git.vomp.tv Git - vompclient.git/blob - tfeed.h
End of line normalization
[vompclient.git] / tfeed.h
1 /*\r    Copyright 2008 Marten Richter\r
2     This file is part of VOMP.\r
3     VOMP is free software; you can redistribute it and/or modify
4     it under the terms of the GNU General Public License as published by
5     the Free Software Foundation; either version 2 of the License, or
6     (at your option) any later version.\r
7     VOMP is distributed in the hope that it will be useful,
8     but WITHOUT ANY WARRANTY; without even the implied warranty of
9     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10     GNU General Public License for more details.\r
11     You should have received a copy of the GNU General Public License
12     along with VOMP; if not, write to the Free Software
13     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
14 */\r\r
15 #ifndef TFEED_H\r#define TFEED_H\r
16 #include <stdio.h>\r#include <time.h>\r
17 #include "threadsystem.h"\r
18 class Callback;\r
19 class TFeed: public Thread_TYPE {\rpublic:\r      TFeed(Callback* tcb);\r  int init();\r    int shutdown();\r        int start();\r   void stop();\r   void enable();\r void disable();\r\rprivate:\r\r     void threadMethod();\r   void threadPostStopCleanup() {\r };\r\r    int teletextEnabled;\r   Callback& cb;\r};\r
20 \r
21 #endif\r