// // SendAssetTask.h // assignment-client/src/assets // // Created by Ryan Huffman on 2015/08/26 // 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_SendAssetTask_h #define hifi_SendAssetTask_h #include #include #include #include #include "AssetUtils.h" #include "AssetServer.h" #include "Node.h" class NLPacket; class SendAssetTask : public QRunnable { public: SendAssetTask(QSharedPointer message, const SharedNodePointer& sendToNode, const QDir& resourcesDir); void run() override; private: QSharedPointer _message; SharedNodePointer _senderNode; QDir _resourcesDir; }; #endif