30 #ifndef _SALHELPER_TIMER_HXX_
31 #define _SALHELPER_TIMER_HXX_
63 Nanosec = (MilliSecs % 1000) * 1000000L;
155 void SAL_CALL start();
159 void SAL_CALL stop();
163 sal_Bool SAL_CALL isTicking()
const;
167 sal_Bool SAL_CALL isExpired()
const;
171 sal_Bool SAL_CALL expiresBefore(
const Timer* pTimer )
const;
175 void SAL_CALL setAbsoluteTime(
const TTimeValue& Time );
179 void SAL_CALL setRemainingTime(
const TTimeValue& Remaining );
188 void SAL_CALL addTime(
const TTimeValue& Time );
202 virtual void SAL_CALL onShot() = 0;
232 friend class TimerManager;
237 #endif //_SALHELPER_TIMER_HXX_