summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-11-25 10:35:37 +0000
committerMichael Meeks <michael.meeks@collabora.com>2015-11-25 13:17:51 +0000
commit2092a4588888bf7d9013415e2b9a2c5cd6113a7f (patch)
tree47a0280f1b8a412c60f37be321392fa9ddfaf021 /vcl
parent02044b5d2711e837cfc8680a265614e138e79d86 (diff)
vcl: move private impl. detail of Scheduler out of global header.
Change-Id: Iee56131a15f9554c263406356456f65694515719
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/saltimer.hxx16
-rw-r--r--vcl/source/app/idle.cxx1
-rw-r--r--vcl/source/app/timer.cxx1
3 files changed, 18 insertions, 0 deletions
diff --git a/vcl/inc/saltimer.hxx b/vcl/inc/saltimer.hxx
index 01a3012ec00b..04427ad5e769 100644
--- a/vcl/inc/saltimer.hxx
+++ b/vcl/inc/saltimer.hxx
@@ -54,6 +54,22 @@ public:
}
};
+class Scheduler;
+
+// Internal scheduler record holding intrusive linked list pieces
+struct ImplSchedulerData
+{
+ ImplSchedulerData* mpNext; // Pointer to the next element in list
+ Scheduler* mpScheduler; // Pointer to VCL Scheduler instance
+ bool mbDelete; // Destroy this scheduler?
+ bool mbInScheduler; // Scheduler currently processed?
+ sal_uInt64 mnUpdateTime; // Last Update Time
+
+ void Invoke();
+
+ static ImplSchedulerData *GetMostImportantTask( bool bTimer );
+};
+
#endif // INCLUDED_VCL_INC_SALTIMER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/source/app/idle.cxx b/vcl/source/app/idle.cxx
index bba2d050c2c4..198ccfc1b96e 100644
--- a/vcl/source/app/idle.cxx
+++ b/vcl/source/app/idle.cxx
@@ -18,6 +18,7 @@
*/
#include <vcl/idle.hxx>
+#include "saltimer.hxx"
void Idle::Invoke()
{
diff --git a/vcl/source/app/timer.cxx b/vcl/source/app/timer.cxx
index de7c52b8a1d1..f5ec1b2901ea 100644
--- a/vcl/source/app/timer.cxx
+++ b/vcl/source/app/timer.cxx
@@ -19,6 +19,7 @@
#include <tools/time.hxx>
#include <vcl/timer.hxx>
+#include "saltimer.hxx"
void Timer::SetDeletionFlags()
{