##// END OF EJS Templates
Some refac for new PySide2 bindings...
Some refac for new PySide2 bindings - made DataSourceItem iterable - added some tree print function for debug - fixed minor bug on DataSourceContorller which prevented from adding products in more than one call per provider - improved IDataProvider for future refac Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r34:8f50e908dd31
r92:9ff5f48e3d71
Show More
Response.h
25 lines | 459 B | text/x-c | CLexer
#ifndef RESPONSE_H
#define RESPONSE_H
#include <QByteArray>
#include <QString>
/**
* @brief The Response class holds a Network request response
*
*/
class Response
{
int _status_code;
QByteArray _data;
public:
Response(){}
Response(QByteArray data, int status_code)
:_status_code(status_code),_data(data)
{
}
int status_code() const{return _status_code;}
QByteArray& data(){return _data;}
};
#endif // RESPONSE_H