mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
rcinput: Add exception handling for cs hd2
- Supplement to previous commit
This commit is contained in:
@@ -145,6 +145,9 @@ class CRCInput
|
||||
{
|
||||
int fd;
|
||||
std::string path;
|
||||
#ifdef BOXMODEL_CS_HD2
|
||||
int type;
|
||||
#endif
|
||||
};
|
||||
|
||||
uint32_t timerid;
|
||||
@@ -169,6 +172,9 @@ class CRCInput
|
||||
void open(bool recheck = false);
|
||||
bool checkpath(in_dev id);
|
||||
bool checkdev();
|
||||
#ifdef BOXMODEL_CS_HD2
|
||||
bool checkLnkDev(std::string lnk);
|
||||
#endif
|
||||
void close();
|
||||
int translate(int code);
|
||||
void calculateMaxFd(void);
|
||||
|
Reference in New Issue
Block a user