git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
provider-selection is now possible for cable and terrestrial
[enigma2.git]
/
lib
/
dvb_ci
/
dvbci.h
diff --git
a/lib/dvb_ci/dvbci.h
b/lib/dvb_ci/dvbci.h
index eb4b6b041aca99d4976292f63246a9ce916a6f8b..bdfa5d96d49cc182d82a9bf438df3e77a15532fb 100644
(file)
--- a/
lib/dvb_ci/dvbci.h
+++ b/
lib/dvb_ci/dvbci.h
@@
-6,11
+6,13
@@
class eDVBCISession;
class eDVBCIApplicationManagerSession;
class eDVBCICAManagerSession;
class eDVBCISession;
class eDVBCIApplicationManagerSession;
class eDVBCICAManagerSession;
+class eDVBCIMMISession;
class eDVBCISlot: public iObject, public Object
{
DECLARE_REF(eDVBCISlot);
private:
class eDVBCISlot: public iObject, public Object
{
DECLARE_REF(eDVBCISlot);
private:
+ int slotid;
int fd;
void data(int);
eSocketNotifier *notifier;
int fd;
void data(int);
eSocketNotifier *notifier;
@@
-25,16
+27,36
@@
public:
eDVBCIApplicationManagerSession *application_manager;
eDVBCICAManagerSession *ca_manager;
eDVBCIApplicationManagerSession *application_manager;
eDVBCICAManagerSession *ca_manager;
+ eDVBCIMMISession *mmi_session;
+
+ int getSlotID();
+ int reset();
+ int initialize();
+ int startMMI();
+ int stopMMI();
+ int answerText(int answer);
+ int answerEnq(int answer, char *value);
};
class eDVBCIInterfaces
{
DECLARE_REF(eDVBCIInterfaces);
};
class eDVBCIInterfaces
{
DECLARE_REF(eDVBCIInterfaces);
+ static eDVBCIInterfaces *instance;
private:
eSmartPtrList<eDVBCISlot> m_slots;
private:
eSmartPtrList<eDVBCISlot> m_slots;
+ eDVBCISlot *getSlot(int slotid);
public:
eDVBCIInterfaces();
~eDVBCIInterfaces();
public:
eDVBCIInterfaces();
~eDVBCIInterfaces();
+
+ static eDVBCIInterfaces *getInstance();
+
+ int reset(int slot);
+ int initialize(int slot);
+ int startMMI(int slot);
+ int stopMMI(int slot);
+ int answerText(int slot, int answer);
+ int answerEnq(int slot, int answer, char *value);
};
#endif
};
#endif