/* Copyright (C) 2013-2020, Dirk Krause SPDX-License-Identifier: BSD-3-Clause */ /* WARNING: This file was generated by the dkct program (see http://dktools.sourceforge.net/ for details). Changes you make here will be lost if dkct is run again! You should modify the original source and run dkct on it. Original source: DkWxProcessingIdleController.cpt */ /** @file DkWxProcessingIdleController.cpp The DkWxProcessingIdleController module. */ #line 58 "DkWxProcessingIdleController.cpt" #include "dk3conf.h" #include "DkWxProcessingIdleController.h" #line 65 "DkWxProcessingIdleController.cpt" DkWxProcessingIdleController::DkWxProcessingIdleController() : DkWxProcessingController() { bWantMore = false; } void DkWxProcessingIdleController::setWantMore(bool value) { wxMutexLocker lock(mxProtectWantMore); bWantMore = value; } void DkWxProcessingIdleController::resetWantMore(void) { wxMutexLocker lock(mxProtectWantMore); bWantMore = false; } bool DkWxProcessingIdleController::wantMore(void) { bool back = false; { wxMutexLocker lock(mxProtectWantMore); back = bWantMore; } return back; }