summaryrefslogtreecommitdiff
path: root/ci.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-02-08 15:11:07 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-02-08 15:11:07 +0100
commit327db5aee3e6041d0fb01efe028fb167c000b24c (patch)
tree5780726ede4ef6dbf4c9651a7d7a1a1b2f0f171d /ci.c
parent0d6715d862424215dbdc44f8e0742592b53143bd (diff)
downloadvdr-327db5aee3e6041d0fb01efe028fb167c000b24c.tar.gz
vdr-327db5aee3e6041d0fb01efe028fb167c000b24c.tar.bz2
Removed the now obsolete CaCaps stuff
Diffstat (limited to 'ci.c')
-rw-r--r--ci.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/ci.c b/ci.c
index 760052de..65ec687f 100644
--- a/ci.c
+++ b/ci.c
@@ -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);