Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (19 sloc) 0.437 kB
#include "Response.h"
#include <iostream>
Response::Response(bool success, QString message) {
m_success = success;
m_message = message.toUtf8();
}
Response::Response(bool success, QByteArray message) {
m_success = success;
m_message = message;
}
Response::Response(bool success) {
m_success = success;
}
bool Response::isSuccess() const {
return m_success;
}
QByteArray Response::message() const {
return m_message;
}
Jump to Line
Something went wrong with that request. Please try again.