cc_timer/cc_frm_clock: allow use of milisecond intervals

Should be easier and more flexible to handle without nano parameter,
some reworkes in other classes and thread handlings are required.
This commit is contained in:
2020-01-05 21:17:59 +01:00
parent 06aec40a25
commit b1f9c3c7f3
10 changed files with 233 additions and 239 deletions

View File

@@ -38,11 +38,11 @@ class CInfoClock : public CComponentsFrmClock
void initCCLockItems();
public:
CInfoClock();
// ~CInfoClock(); // inherited from CComponentsFrmClock
virtual ~CInfoClock(){}; // inherited from CComponentsFrmClock
static CInfoClock* getInstance();
bool StartInfoClock();
bool StopInfoClock();
bool StopInfoClock(bool exit_thread = false);
bool enableInfoClock(bool enable = true);
bool disableInfoClock() {return enableInfoClock(false);}
void ClearDisplay();