mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
- add support for radiotext (needs testing) -> http://www.dbox2world.net/board293-coolstream-hd1/board296-coolstream-software/10635-radiotext-einbauen/
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1501 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
46
src/driver/radiotools.h
Normal file
46
src/driver/radiotools.h
Normal file
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
* radiotools.h: A plugin for the Video Disk Recorder
|
||||
*
|
||||
* See the README file for copyright information and how to reach the author.
|
||||
*
|
||||
* This is a "plugin" for the Video Disk Recorder (VDR).
|
||||
*
|
||||
* Written by: Lars Tegeler <email@host.dom>
|
||||
*
|
||||
* Project's homepage: www.math.uni-paderborn.de/~tegeler/vdr
|
||||
*
|
||||
* Latest version available at: URL
|
||||
*
|
||||
* See the file COPYING for license information.
|
||||
*
|
||||
* Description:
|
||||
*
|
||||
* This Plugin display an background image while the vdr is switcht to radio channels.
|
||||
*
|
||||
* $Id: radiotools.h,v 1.1 2009/08/07 07:22:31 rhabarber1848 Exp $
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __RADIO_TOOLS_H
|
||||
#define __RADIO_TOOLS_H
|
||||
|
||||
|
||||
unsigned short crc16_ccitt(unsigned char *daten, int len, bool skipfirst);
|
||||
|
||||
char *rtrim(char *text);
|
||||
|
||||
typedef long long unsigned int uint64_t;
|
||||
|
||||
class cTimeMs {
|
||||
private:
|
||||
uint64_t begin;
|
||||
|
||||
public:
|
||||
cTimeMs(void);
|
||||
static uint64_t Now(void);
|
||||
void Set(int Ms = 0);
|
||||
bool TimedOut(void);
|
||||
uint64_t Elapsed(void);
|
||||
};
|
||||
|
||||
#endif //__RADIO_TOOLS_H
|
Reference in New Issue
Block a user