cc_timer: declare some members as protected

required for use in derived classes
This commit is contained in:
2020-01-10 15:03:07 +01:00
parent 51c8c07a39
commit 635d84db16

View File

@@ -51,19 +51,20 @@ class CComponentsTimer : public sigc::trackable
///refresh interval in seconds
int64_t tm_interval;
///init function to start/stop timer in own thread
void initThread();
void stopThread();
///runs shared timer action provided inside OnTimer() signal
static void threadCallback(CComponentsTimer *tm);
sigc::slot<void> sl_cleanup_timer;
///name for the thread
std::string tm_thread_name;
std::string tn;
protected: ///name for thread
std::string tm_thread_name;
///init function to start/stop timer in own thread
void initThread();
void stopThread();
public:
/**Constructor for timer class
*