Kaydet (Commit) 2092a458 authored tarafından Michael Meeks's avatar Michael Meeks

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

Change-Id: Iee56131a15f9554c263406356456f65694515719
üst 02044b5d
......@@ -22,20 +22,9 @@
#include <vcl/dllapi.h>
struct ImplSVData;
class Scheduler;
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 );
};
struct ImplSVData;
struct ImplSchedulerData;
enum class SchedulerPriority {
HIGHEST = 0,
......
......@@ -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: */
......@@ -18,6 +18,7 @@
*/
#include <vcl/idle.hxx>
#include "saltimer.hxx"
void Idle::Invoke()
{
......
......@@ -19,6 +19,7 @@
#include <tools/time.hxx>
#include <vcl/timer.hxx>
#include "saltimer.hxx"
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