mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
refs #42
- Added DBus handler interface - Added more complex flow to both samples - Added custom class to be transfered
This commit is contained in:
42
samples/dbusserver/fsd_client.h
Normal file
42
samples/dbusserver/fsd_client.h
Normal file
@@ -0,0 +1,42 @@
|
||||
/* Copyright (C) 2013 VATSIM Community / contributors
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#ifndef FSDCLIENT_H
|
||||
#define FSDCLIENT_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
/*!
|
||||
* \brief FSD client
|
||||
* \details This class implements methods to connect to a FSD server
|
||||
* \author Roland Winklmeier
|
||||
* \version 0.1
|
||||
* \date July 2013
|
||||
*/
|
||||
|
||||
class CFsdClient : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
/*!
|
||||
* \brief Constructor
|
||||
* \param parent
|
||||
*/
|
||||
CFsdClient(QObject *parent = 0);
|
||||
|
||||
/*!
|
||||
* \brief Starts connection to FSD server
|
||||
* \param host
|
||||
*/
|
||||
void connectTo(const QString &host);
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
|
||||
};
|
||||
|
||||
#endif // FSDCLIENT_H
|
||||
Reference in New Issue
Block a user