diff options
author | Tobias Madl <tobias.madl.dev@gmail.com> | 2015-01-19 16:30:23 +0000 |
---|---|---|
committer | Tobias Madl <tobias.madl.dev@gmail.com> | 2015-03-06 12:27:07 +0000 |
commit | 5bd1106c3758c8cb0c19b09799970440501fde02 (patch) | |
tree | 4fa2675a63c7901e93198436fd1320b0a10a4823 /include/vcl | |
parent | 3f64e7c16a63fdc330e108cd74182c615d229bb6 (diff) |
Added Comments
Change-Id: I093b4812bf3b75d6a6f3c8ea38755619f5c9d151
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/idle.hxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/include/vcl/idle.hxx b/include/vcl/idle.hxx index da0a5c7e89fd..5a464629fb31 100644 --- a/include/vcl/idle.hxx +++ b/include/vcl/idle.hxx @@ -27,6 +27,7 @@ struct ImplIdleData; struct ImplSVData; +// The timemarks behind the priorities is the catgorizing of timer to idle enum class IdlePriority { VCL_IDLE_PRIORITY_STARVATIONPROTECTION = -1, // Do not use this for normal prioritizing VCL_IDLE_PRIORITY_HIGHEST = 0, // -> 0ms @@ -41,16 +42,14 @@ enum class IdlePriority { }; -// To port from Timer -> Idle switch class name, -// s/Timeout/DoIdle/ etc. and select priority class VCL_DLLPUBLIC Idle { protected: - ImplIdleData* mpIdleData; - IdlePriority mePriority; - IdlePriority meDefaultPriority; - bool mbActive; - Link maIdleHdl; + ImplIdleData* mpIdleData; // Pointer to element in idle list + IdlePriority mePriority; // Idle priority ( maybe divergent to default) + IdlePriority meDefaultPriority; // Default idle priority + bool mbActive; // Currently in the scheduler + Link maIdleHdl; // Callback Link friend struct ImplIdleData; |