mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-15 09:23:37 +02:00
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:
@@ -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