1
#ifndef WXCNETWORKREPLY_H
2
#define WXCNETWORKREPLY_H
4
#include "wxcLib/wxcEnums.h"
5
#include "wxcLib/json_node.h"
6
#include <wx/filename.h>
11
wxCrafter::eReplyType m_replyType;
12
std::vector<wxFileName> m_files;
17
wxcNetworkReply(const wxString &json);
18
virtual ~wxcNetworkReply();
21
void FromJSON(const JSONElement& json);
22
JSONElement ToJSON() const;
24
void SetFiles(const std::vector<wxFileName>& files) {
25
this->m_files = files;
27
void SetReplyType(const wxCrafter::eReplyType& replyType) {
28
this->m_replyType = replyType;
30
const std::vector<wxFileName>& GetFiles() const {
33
const wxCrafter::eReplyType& GetReplyType() const {
36
void SetWxcpFile(const wxString& wxcpFile) {
37
this->m_wxcpFile = wxcpFile;
39
const wxString& GetWxcpFile() const {
44
#endif // WXCNETWORKREPLY_H