Files
pilotclient/blackbox/dialog_connect.h
Roland Winklmeier 584251e0a8 Initial commit
2013-02-15 18:50:17 +01:00

37 lines
800 B
C++

//! Copyright (C) 2013 Roland Winklmeier
//! 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 DIALOG_CONNECT_H
#define DIALOG_CONNECT_H
#include <QDialog>
#include <blackmisc/com_client.h>
namespace Ui {
class CDialogConnect;
}
class CDialogConnect : public QDialog
{
Q_OBJECT
public:
explicit CDialogConnect(QWidget *parent = 0);
~CDialogConnect();
protected slots:
void onFSDConnect();
void onError(QAbstractSocket::SocketError, QString);
void onClientConnected();
private:
Ui::CDialogConnect *ui;
BlackMisc::CComClient comclient;
bool m_hasComConnection;
};
#endif // DIALOG_CONNECT_H