Kstars

elementinfo.h
1/*
2 SPDX-FileCopyrightText: 2012 Jasem Mutlaq <mutlaqja@ikarustech.com>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include <QMap>
10#include <QString>
11#include <QJsonObject>
12
13class ElementInfo
14{
15 public:
16 ElementInfo(int id, const QString &name);
17 ~ElementInfo() = default;
18
19 // Is connection local or remote
20// bool isLocal()
21// {
22// return host.isEmpty();
23// }
24// QJsonObject toJson() const;
25
26// QString mount() const;
27// QString ccd() const;
28// QString guider() const;
29// QString focuser() const;
30// QString filter() const;
31// QString dome() const;
32// QString ao() const;
33// QString weather() const;
34// QString aux1() const;
35// QString aux2() const;
36// QString aux3() const;
37// QString aux4() const;
38// QString remoteDrivers() const;
39//
40// QString name;
41// QString host;
42// QString city;
43// QString province;
44// QString country;
45// int guidertype { 0 };
46// int guiderport { 0 };
47// int indihub { 0 };
48// QString remotedrivers;
49// QString guiderhost;
50// QByteArray scripts;
51// int id { 0 };
52// int port { -1 };
53// bool autoConnect { false };
54// bool portSelector {false};
55// int INDIWebManagerPort { -1 };
56// QMap<QString, QString> drivers;
57};
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.