rcinput: Add exception handling for cs hd2

- Supplement to previous commit
This commit is contained in:
M. Liebmann
2017-02-22 06:21:33 +01:00
parent 7b3aa2b181
commit 1b79faff78
2 changed files with 59 additions and 1 deletions

View File

@@ -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);