Kstars

deviceinfo.h
1/*
2 SPDX-FileCopyrightText: 2012 Jasem Mutlaq <mutlaqja@ikarustech.com>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#ifndef DEVICEINFO_H
8#define DEVICEINFO_H
9
10#include <basedevice.h>
11
12#include "driverinfo.h"
13
14/**
15 * @class DeviceInfo
16 * DeviceInfo is simple class to hold DriverInfo and INDI::BaseDevice associated with a particular device.
17 *
18 * @author Jasem Mutlaq
19 */
21{
22 public:
23 DeviceInfo(const QSharedPointer<DriverInfo> &, INDI::BaseDevice ibd);
24
25 const QString &getDeviceName() const
26 {
27 return m_Name;
28 }
29 const QSharedPointer<DriverInfo> &getDriverInfo()
30 {
31 return m_Driver;
32 }
33 INDI::BaseDevice getBaseDevice()
34 {
35 return dp;
36 }
37
38 private:
40 INDI::BaseDevice dp;
41 QString m_Name;
42};
43
44#endif // DEVICEINFO_H
DeviceInfo is simple class to hold DriverInfo and INDI::BaseDevice associated with a particular devic...
Definition deviceinfo.h:21
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 12 2024 12:00:40 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.