Kaydet (Commit) 3853d5ff authored tarafından Michael Meeks's avatar Michael Meeks

vcl: move private impl. detail of Scheduler out of global header.

Change-Id: Iee56131a15f9554c263406356456f65694515719
üst 695bb66f
...@@ -22,20 +22,9 @@ ...@@ -22,20 +22,9 @@
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
struct ImplSVData;
class Scheduler; class Scheduler;
struct ImplSchedulerData struct ImplSVData;
{ 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 );
};
enum class SchedulerPriority { enum class SchedulerPriority {
HIGHEST = 0, HIGHEST = 0,
......
...@@ -54,6 +54,22 @@ public: ...@@ -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 #endif // INCLUDED_VCL_INC_SALTIMER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
*/ */
#include <vcl/idle.hxx> #include <vcl/idle.hxx>
#include "saltimer.hxx"
void Idle::Invoke() void Idle::Invoke()
{ {
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <tools/time.hxx> #include <tools/time.hxx>
#include <vcl/timer.hxx> #include <vcl/timer.hxx>
#include "saltimer.hxx"
void Timer::SetDeletionFlags() void Timer::SetDeletionFlags()
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment