mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
cc_timer: declare some members as protected
required for use in derived classes
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user