* reworked CA menu code

* added support for internal cardreaders for future conax support
* added inactivity shutdown timer for EuP
WARNING: new libcoolstream and libOpenThreads needed.



git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@925 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
focus
2010-12-07 10:00:52 +00:00
parent 987d09c77d
commit b8c1fa5cc1
35 changed files with 882 additions and 536 deletions

View File

@@ -25,7 +25,9 @@
#include "widget/menue.h"
#include <libcoolstream/dvb-ci.h>
#include <libcoolstream/mmi.h>
#include <libcoolstream/ca_cs.h>
using namespace std;
@@ -33,12 +35,14 @@ class CCAMMenuHandler : public CMenuTarget
{
private:
CHintBox * hintBox;
cDvbCi * ci;
cCA *ca;
uint64_t timeoutEnd;
//int slot;
int doMenu(int slot);
int doMenu(int slot, CA_SLOT_TYPE slotType);
int doMainMenu();
int handleCamMsg (const neutrino_msg_t msg, neutrino_msg_data_t data, bool from_menu = false);
void hideHintBox(void);
void showHintBox(const neutrino_locale_t Caption, const char * const Text, uint32_t timeout = 0);
public:
void init(void);
int exec(CMenuTarget* parent, const std::string &actionkey);