File indexing completed on 2024-07-21 06:28:22

0001 /*
0002     SPDX-FileCopyrightText: 2022 Jasem Mutlaq <mutlaqja@ikarustech.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "indiconcretedevice.h"
0010 
0011 namespace ISD
0012 {
0013 /**
0014  * @class Filter
0015  * Filter class handles control of INDI Filter devices.
0016  *
0017  * @author Jasem Mutlaq
0018  */
0019 class FilterWheel : public ConcreteDevice
0020 {
0021         Q_OBJECT
0022 
0023     public:
0024         explicit FilterWheel(GenericDevice *parent) : ConcreteDevice(parent) {}
0025 
0026         bool setPosition(uint8_t index);
0027         bool setLabels(const QStringList &names);
0028         bool confirmFilter();
0029 };
0030 }