mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-30 13:43:01 +02:00
33 lines
No EOL
646 B
C++
33 lines
No EOL
646 B
C++
//
|
|
// ConnectionMonitor.h
|
|
// interface/src
|
|
//
|
|
// Created by Ryan Huffman on 8/4/15.
|
|
// Copyright 2015 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
#ifndef hifi_ConnectionMonitor_h
|
|
#define hifi_ConnectionMonitor_h
|
|
|
|
#include <QObject>
|
|
#include <QTimer>
|
|
|
|
class QString;
|
|
|
|
class ConnectionMonitor : public QObject {
|
|
Q_OBJECT
|
|
public:
|
|
void init();
|
|
|
|
private slots:
|
|
void disconnectedFromDomain();
|
|
void connectedToDomain(const QString& name);
|
|
|
|
private:
|
|
QTimer _timer;
|
|
};
|
|
|
|
#endif // hifi_ConnectionMonitor_h
|