try to fix shutdown after wakeup, if several recordings was done,

cancel shutdown after wakeup, if remote used, based on code (c) martii <m4rtii@gmx.de>
This commit is contained in:
[CST] Focus
2013-07-30 14:10:21 +04:00
parent 4fa0c9a233
commit d886a95acd
4 changed files with 27 additions and 4 deletions

View File

@@ -212,6 +212,7 @@ class CTimerManager
private:
void Init(void);
int eventID;
int shutdown_eventID;
CEventServer *eventServer;
CTimerEventMap events;
pthread_t thrTimer;
@@ -247,6 +248,7 @@ public:
void getRecordingSafety(int &pre, int &post){pre=m_extraTimeStart;post=m_extraTimeEnd;}
void setRecordingSafety(int pre, int post);
void loadRecordingSafety();
void cancelShutdownOnWakeup();
};
#endif