Files
recycled-ni-neutrino/src/driver/radiotools.h
gixxpunk 18bd823362 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


Origin commit data
------------------
Branch: ni/coolstream
Commit: ec402d9518
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-06-02 (Thu, 02 Jun 2011)

Origin message was:
------------------
- 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 was generated by Migit
2011-06-02 15:29:40 +00:00

47 lines
1009 B
C++

/*
* 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