Overte C++ Documentation
SendAssetTask.h
1
//
2
// SendAssetTask.h
3
// assignment-client/src/assets
4
//
5
// Created by Ryan Huffman on 2015/08/26
6
// Copyright 2015 High Fidelity, Inc.
7
//
8
// Distributed under the Apache License, Version 2.0.
9
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
10
//
11
12
#ifndef hifi_SendAssetTask_h
13
#define hifi_SendAssetTask_h
14
15
#include <QtCore/QByteArray>
16
#include <QtCore/QSharedPointer>
17
#include <QtCore/QString>
18
#include <QtCore/QRunnable>
19
20
#include "AssetUtils.h"
21
#include "AssetServer.h"
22
#include "Node.h"
23
24
class
NLPacket;
25
26
class
SendAssetTask :
public
QRunnable {
27
public
:
28
SendAssetTask(QSharedPointer<ReceivedMessage> message,
const
SharedNodePointer& sendToNode,
const
QDir& resourcesDir);
29
30
void
run()
override
;
31
32
private
:
33
QSharedPointer<ReceivedMessage> _message;
34
SharedNodePointer _senderNode;
35
QDir _resourcesDir;
36
};
37
38
#endif
assignment-client
src
assets
SendAssetTask.h
Generated by
1.9.1