Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
3853d5ff
Kaydet (Commit)
3853d5ff
authored
Kas 25, 2015
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl: move private impl. detail of Scheduler out of global header.
Change-Id: Iee56131a15f9554c263406356456f65694515719
üst
695bb66f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
13 deletions
+20
-13
scheduler.hxx
include/vcl/scheduler.hxx
+2
-13
saltimer.hxx
vcl/inc/saltimer.hxx
+16
-0
idle.cxx
vcl/source/app/idle.cxx
+1
-0
timer.cxx
vcl/source/app/timer.cxx
+1
-0
No files found.
include/vcl/scheduler.hxx
Dosyayı görüntüle @
3853d5ff
...
@@ -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
,
...
...
vcl/inc/saltimer.hxx
Dosyayı görüntüle @
3853d5ff
...
@@ -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: */
vcl/source/app/idle.cxx
Dosyayı görüntüle @
3853d5ff
...
@@ -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
()
{
{
...
...
vcl/source/app/timer.cxx
Dosyayı görüntüle @
3853d5ff
...
@@ -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
()
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment