- adzap: add isActive() function

This commit is contained in:
svenhoefer
2016-02-29 00:11:44 +01:00
parent 3cee9eeb6e
commit 809b0ea20c

View File

@@ -57,5 +57,6 @@ class CAdZapMenu: public CMenuTarget
public: public:
static CAdZapMenu *getInstance(); static CAdZapMenu *getInstance();
int exec(CMenuTarget * parent, const std::string & actionKey); int exec(CMenuTarget * parent, const std::string & actionKey);
bool isActive() { return (armed || monitor); };
}; };
#endif // __adzap__ #endif // __adzap__