mirror of
https://github.com/AskDavis/Casinotest.git
synced 2026-01-02 11:59:48 -08:00
Added active exchanges parser
This commit is contained in:
31
src/qt/CSCPublicAPI/jsonactiveexchangesparser.h
Normal file
31
src/qt/CSCPublicAPI/jsonactiveexchangesparser.h
Normal file
@@ -0,0 +1,31 @@
|
||||
#ifndef JSONACTIVEEXCHANGESPARSER_H
|
||||
#define JSONACTIVEEXCHANGESPARSER_H
|
||||
|
||||
#include <QJsonObject>
|
||||
#include <QJsonValue>
|
||||
#include <QJsonArray>
|
||||
#include <QList>
|
||||
|
||||
#include "jsonsingleactiveexchange.h"
|
||||
|
||||
class QmlImageProvider;
|
||||
|
||||
class JsonActiveExchangesParser : public QJsonObject
|
||||
{
|
||||
public:
|
||||
JsonActiveExchangesParser();
|
||||
JsonActiveExchangesParser( const QJsonObject& a_rOther );
|
||||
virtual ~JsonActiveExchangesParser(){}
|
||||
|
||||
const QList<JsonSingleActiveExchange>& GetExchanges() const;
|
||||
QList<JsonSingleActiveExchange>& GetExchanges();
|
||||
|
||||
void AddImagesToPool( QmlImageProvider* a_pImageProvider );
|
||||
|
||||
private:
|
||||
void ResolveExchangesArray();
|
||||
|
||||
QList<JsonSingleActiveExchange> m_aActiveExchanges;
|
||||
};
|
||||
|
||||
#endif // JSONACTIVEEXCHANGESPARSER_H
|
||||
Reference in New Issue
Block a user