File indexing completed on 2024-04-28 16:52:27

0001 /*
0002 SPDX-FileCopyrightText: 2021 Benjamin Port <benjamin.port@enioka.com>
0003 
0004 SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <qobjectdefs.h>
0010 
0011 namespace ColorCorrect
0012 {
0013 Q_NAMESPACE
0014 enum NightColorMode {
0015     /**
0016      * Color temperature is computed based on the current position of the Sun.
0017      *
0018      * Location of the user is provided by Plasma.
0019      */
0020     Automatic,
0021     /**
0022      * Color temperature is computed based on the current position of the Sun.
0023      *
0024      * Location of the user is provided by themselves.
0025      */
0026     Location,
0027     /**
0028      * Color temperature is computed based on the current time.
0029      *
0030      * Sunrise and sunset times have to be specified by the user.
0031      */
0032     Timings,
0033     /**
0034      * Color temperature is constant thoughout the day.
0035      */
0036     Constant,
0037 };
0038 
0039 Q_ENUM_NS(NightColorMode)
0040 }