1 /*
\r Copyright 2008 Marten Richter
\r\r
2 This file is part of VOMP.
\r\r
3 VOMP is free software; you can redistribute it and/or modify
\r
4 it under the terms of the GNU General Public License as published by
\r
5 the Free Software Foundation; either version 2 of the License, or
\r
6 (at your option) any later version.
\r\r
7 VOMP is distributed in the hope that it will be useful,
\r
8 but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
10 GNU General Public License for more details.
\r\r
11 You should have received a copy of the GNU General Public License
\r
12 along with VOMP; if not, write to the Free Software
\r
13 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
\r
15 #ifndef TFEED_H
\r#define TFEED_H
\r\r
16 #include <stdio.h>
\r#include <time.h>
\r\r
17 #include "threadsystem.h"
\r\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\r