mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 02:11:04 +02:00
zapit/include/zapit/frontend_c.h: add fe type helpers, change modes enum order
Origin commit data
------------------
Branch: ni/coolstream
Commit: 740073b2c0
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-01-16 (Wed, 16 Jan 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -90,11 +90,11 @@ class CFrontend
|
||||
{
|
||||
public:
|
||||
typedef enum {
|
||||
FE_MODE_UNUSED,
|
||||
FE_MODE_INDEPENDENT,
|
||||
FE_MODE_MASTER,
|
||||
FE_MODE_LINK_LOOP,
|
||||
FE_MODE_LINK_TWIN,
|
||||
FE_MODE_UNUSED,
|
||||
FE_MODE_LINK_TWIN
|
||||
} fe_work_mode_t;
|
||||
|
||||
private:
|
||||
@@ -255,5 +255,8 @@ class CFrontend
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
bool isCable() { return (info.type == FE_QAM); }
|
||||
bool isSat() { return (info.type == FE_QPSK); }
|
||||
fe_type_t getType() { return info.type; }
|
||||
};
|
||||
#endif /* __zapit_frontend_h__ */
|
||||
|
Reference in New Issue
Block a user