Kstars

indihub.h
1/*
2 SPDX-FileCopyrightText: 2020 Jasem Mutlaq <mutlaqja@ikarustech.com>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include <QString>
10
11namespace INDIHub
12{
13enum
14{
15 None,
16 Solo,
17 Share,
18 Robotic
19};
20
21QString toString(uint8_t mode)
22{
23 if (mode == Solo)
24 return "solo";
25 else if (mode == Share)
26 return "share";
27 else if (mode == Robotic)
28 return "robotic";
29 else
30 return "none";
31}
32}
char * toString(const EngineQuery &query)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.