git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dynamic update demux setting in running ca services (change demux mask in capmt and...
[enigma2.git]
/
lib
/
dvb_ci
/
dvbci.h
diff --git
a/lib/dvb_ci/dvbci.h
b/lib/dvb_ci/dvbci.h
index b72b21b1ef82bdc36e6fb72b87496a9807da84e1..e9de48763df6275aa2358febefe5bf47d467f549 100644
(file)
--- a/
lib/dvb_ci/dvbci.h
+++ b/
lib/dvb_ci/dvbci.h
@@
-6,36
+6,55
@@
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);
int fd;
void data(int);
- eSocketNotifier *notifier_data;
- void event(int);
- eSocketNotifier *notifier_event;
+ eSocketNotifier *notifier;
int state;
enum {stateRemoved, stateInserted};
public:
eDVBCISlot(eMainloop *context, int nr);
int state;
enum {stateRemoved, stateInserted};
public:
eDVBCISlot(eMainloop *context, int nr);
-
virtual
~eDVBCISlot();
+ ~eDVBCISlot();
- int
eDVBCISlot::write
(const unsigned char *data, size_t len);
+ int
send
(const unsigned char *data, size_t len);
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 answerMMI(int answer, char *value);
};
class 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();
public:
eDVBCIInterfaces();
- virtual ~eDVBCIInterfaces();
+ ~eDVBCIInterfaces();
+
+ static eDVBCIInterfaces *getInstance();
+
+ int reset(int slot);
+ int initialize(int slot);
+ int startMMI(int slot);
+ int stopMMI(int slot);
+ int answerMMI(int slot, int answer, char *value);
};
#endif
};
#endif