summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2016-09-06 10:44:05 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2017-01-17 16:08:47 +0100
commit17bb38262471cf68167fa11ad875c2785f43a341 (patch)
treeb45164db62a513cbf0a896d32e74eede96a9ac02 /include
parent9ec3b1e1bfd38a7a26b8f22024b0d62f771fd5a5 (diff)
Convert bTimer => bIdle
All other places already refer to being Idle, so change the Scheduler::ProcessTaskScheduling argument to bIdle and adapt all other scheduler-related functions. Change-Id: If5a605abbc3e620092127b65ada29f11215a0343
Diffstat (limited to 'include')
-rw-r--r--include/vcl/idle.hxx2
-rw-r--r--include/vcl/scheduler.hxx4
-rw-r--r--include/vcl/timer.hxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/include/vcl/idle.hxx b/include/vcl/idle.hxx
index 5a33e2e70ba9..d3fdfbb5f78e 100644
--- a/include/vcl/idle.hxx
+++ b/include/vcl/idle.hxx
@@ -28,7 +28,7 @@ class VCL_DLLPUBLIC Idle : public Scheduler
Link<Idle *, void> maIdleHdl; // Callback Link
protected:
- virtual bool ReadyForSchedule( bool bTimerOnly, sal_uInt64 nTimeNow ) const override;
+ virtual bool ReadyForSchedule( bool bIdle, sal_uInt64 nTimeNow ) const override;
virtual bool IsIdle() const override;
virtual sal_uInt64 UpdateMinPeriod( sal_uInt64 nMinPeriod, sal_uInt64 nTimeNow ) const override;
diff --git a/include/vcl/scheduler.hxx b/include/vcl/scheduler.hxx
index ef6949de1654..16aba06a4b59 100644
--- a/include/vcl/scheduler.hxx
+++ b/include/vcl/scheduler.hxx
@@ -54,7 +54,7 @@ protected:
friend struct ImplSchedulerData;
virtual void SetDeletionFlags();
/// Is this item ready to be dispatched at nTimeNow
- virtual bool ReadyForSchedule( bool bTimerOnly, sal_uInt64 nTimeNow ) const = 0;
+ virtual bool ReadyForSchedule( bool bIdle, sal_uInt64 nTimeNow ) const = 0;
/// Schedule only when other timers and events are processed
virtual bool IsIdle() const = 0;
/**
@@ -90,7 +90,7 @@ public:
/// Calculate minimum timeout - and return its value.
static sal_uInt64 CalculateMinimumTimeout( bool &bHasActiveIdles );
/// Process one pending task ahead of time with highest priority.
- static bool ProcessTaskScheduling( bool bTimerOnly );
+ static bool ProcessTaskScheduling( bool bIdle );
/// Process all events until we are idle
static void ProcessEventsToIdle();
diff --git a/include/vcl/timer.hxx b/include/vcl/timer.hxx
index c1ede8c83caf..ff79acde2936 100644
--- a/include/vcl/timer.hxx
+++ b/include/vcl/timer.hxx
@@ -31,7 +31,7 @@ protected:
bool mbAuto;
virtual void SetDeletionFlags() override;
- virtual bool ReadyForSchedule( bool bTimerOnly, sal_uInt64 nTimeNow ) const override;
+ virtual bool ReadyForSchedule( bool bIdle, sal_uInt64 nTimeNow ) const override;
virtual bool IsIdle() const override;
virtual sal_uInt64 UpdateMinPeriod( sal_uInt64 nMinPeriod, sal_uInt64 nTimeNow ) const override;