File indexing completed on 2024-04-28 05:36:16
0001 /* 0002 * SPDX-FileCopyrightText: 2014 Nikita Skovoroda <chalkerx@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "powerdevilbrightnesslogic.h" 0010 0011 namespace PowerDevil 0012 { 0013 class ScreenBrightnessLogic : public BrightnessLogic 0014 { 0015 public: 0016 int toggled() const override; 0017 int valueMin() const override; 0018 0019 protected: 0020 int calculateSteps(int valueMax) const override; 0021 }; 0022 0023 }