1 2 #include <TimeSource.h> 3 4 class SystemTimeSource : public BTimeSource 5 { 6 public: 7 SystemTimeSource(); 8 ~SystemTimeSource(); 9 10 void NodeRegistered(); 11 12 BMediaAddOn* AddOn(int32 * internal_id) const; 13 status_t TimeSourceOp(const time_source_op_info & op, void * _reserved); 14 15 16 static int32 _ControlThreadStart(void *arg); 17 void ControlThread(); 18 19 thread_id fControlThread; 20 }; 21