jellyfin-media-player/external/plistparser/plistparser.h
2015-10-13 11:05:27 +02:00

19 lines
414 B
C++

#pragma once
// Qt includes
#include <QIODevice>
#include <QVariant>
#include <QVariantList>
#include <QVariantMap>
#include <QDomElement>
class PListParser {
public:
static QVariant parsePList(QIODevice *device);
private:
static QVariant parseElement(const QDomElement &e);
static QVariantList parseArrayElement(const QDomElement& node);
static QVariantMap parseDictElement(const QDomElement& element);
};