diff options
author | Tobias Madl <tobias.madl.dev@gmail.com> | 2015-05-06 08:34:28 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-14 13:28:25 +0000 |
commit | b6044f76405cdf2a956d2c429d5d29f4c711363c (patch) | |
tree | 59ad56bbd19abcda28cf1169774bd840a10c4a4f /include/vcl/scheduler.hxx | |
parent | honour NoFocusRects in ListBoxes like Buttons, etc (diff) | |
download | core-b6044f76405cdf2a956d2c429d5d29f4c711363c.tar.gz core-b6044f76405cdf2a956d2c429d5d29f4c711363c.zip |
Scheduler: Deactivate task without deletion
Now a task can be temporary deactivatet, without deletion.
Change-Id: Ie72f0fe0e1529e2216271a3ae73be1c406947dec
Reviewed-on: https://gerrit.libreoffice.org/15640
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/scheduler.hxx')
-rw-r--r-- | include/vcl/scheduler.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/scheduler.hxx b/include/vcl/scheduler.hxx index da3fb1fd3e64..5ce31e2db795 100644 --- a/include/vcl/scheduler.hxx +++ b/include/vcl/scheduler.hxx @@ -76,6 +76,7 @@ public: virtual void Stop(); bool IsActive() const { return mbActive; } + void SetInActive() { mbActive = false; } Scheduler& operator=( const Scheduler& rScheduler ); static void ImplDeInitScheduler(); |