// // Client.h // gvr-interface/src // // Created by Stephen Birarda on 1/20/15. // Copyright 2013 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_Client_h #define hifi_Client_h #include #include class Client : public QObject { Q_OBJECT public: Client(QObject* parent = 0); virtual void cleanupBeforeQuit() = 0; protected: void setupNetworking(); virtual void processVerifiedPacket(const HifiSockAddr& senderSockAddr, const QByteArray& incomingPacket); private slots: void processDatagrams(); }; #endif // hifi_Client_h