rcinput: Add exception handling for cs hd2

- Supplement to previous commit


Origin commit data
------------------
Branch: ni/coolstream
Commit: 1b79faff78
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-02-22 (Wed, 22 Feb 2017)



------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2017-02-22 06:21:33 +01:00
parent b5ec2b42df
commit 7345242772
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);