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>


Origin commit data
------------------
Branch: ni/coolstream
Commit: d886a95acd
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-07-30 (Tue, 30 Jul 2013)



------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2013-07-30 14:10:21 +04:00
parent 87141421ff
commit af3bd6e922
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