diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-02-08 15:11:07 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-02-08 15:11:07 +0100 |
commit | 327db5aee3e6041d0fb01efe028fb167c000b24c (patch) | |
tree | 5780726ede4ef6dbf4c9651a7d7a1a1b2f0f171d /ci.c | |
parent | 0d6715d862424215dbdc44f8e0742592b53143bd (diff) | |
download | vdr-327db5aee3e6041d0fb01efe028fb167c000b24c.tar.gz vdr-327db5aee3e6041d0fb01efe028fb167c000b24c.tar.bz2 |
Removed the now obsolete CaCaps stuff
Diffstat (limited to 'ci.c')
-rw-r--r-- | ci.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: ci.c 1.21 2004/01/02 15:07:36 kls Exp $ + * $Id: ci.c 1.22 2004/02/08 15:02:04 kls Exp $ */ #include "ci.h" @@ -763,6 +763,7 @@ public: virtual ~cCiApplicationInformation(); virtual bool Process(int Length = 0, const uint8_t *Data = NULL); bool EnterMenu(void); + const char *GetMenuString(void) { return menuString; } }; cCiApplicationInformation::cCiApplicationInformation(int SessionId, cCiTransportConnection *Tc) @@ -1559,6 +1560,13 @@ cCiEnquiry *cCiHandler::GetEnquiry(void) return NULL; } +const char *cCiHandler::GetCamName(int Slot) +{ + cMutexLock MutexLock(&mutex); + cCiApplicationInformation *ai = (cCiApplicationInformation *)GetSessionByResourceId(RI_APPLICATION_INFORMATION, Slot); + return ai ? ai->GetMenuString() : NULL; +} + const unsigned short *cCiHandler::GetCaSystemIds(int Slot) { cMutexLock MutexLock(&mutex); |