Instrument Neutral Distributed Interface INDI  2.0.2
baseclientqt_p.h
Go to the documentation of this file.
1 /*******************************************************************************
2  Copyright(c) 2016 Jasem Mutlaq. All rights reserved.
3  Copyright(c) 2022 Pawel Soja <kernel32.pl@gmail.com>
4 
5  INDI Qt Client
6 
7  This library is free software; you can redistribute it and/or
8  modify it under the terms of the GNU Library General Public
9  License version 2 as published by the Free Software Foundation.
10 
11  This library is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  Library General Public License for more details.
15 
16  You should have received a copy of the GNU Library General Public License
17  along with this library; see the file COPYING.LIB. If not, write to
18  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  Boston, MA 02110-1301, USA.
20 *******************************************************************************/
21 #pragma once
22 
23 #include "abstractbaseclient_p.h"
24 #include "indililxml.h"
25 
26 #include <QTcpSocket>
27 
28 namespace INDI
29 {
30 
32 {
33  public:
35  ~BaseClientQtPrivate() = default;
36 
37  public:
38  ssize_t sendData(const void *data, size_t size) override;
39 
40  public:
41  void listenINDI();
42 
43  public:
44  QTcpSocket clientSocket;
46 
47 };
48 }
ssize_t sendData(const void *data, size_t size) override
BaseClientQtPrivate(BaseClientQt *parent)
Class to provide basic client functionality based on Qt5 toolkit and is therefore suitable for cross-...
Definition: baseclientqt.h:48
Namespace to encapsulate INDI client, drivers, and mediator classes.