mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 17:11:57 +00:00
19 lines
359 B
C++
19 lines
359 B
C++
#pragma once
|
|
#include <QString>
|
|
#include <QMap>
|
|
#include <memory>
|
|
#include <QVariant>
|
|
|
|
class URNResolver;
|
|
typedef std::shared_ptr<URNResolver> URNResolverPtr;
|
|
|
|
class URNResolver
|
|
{
|
|
public:
|
|
URNResolver();
|
|
QVariant resolve (QString URN);
|
|
static bool parse (const QString &URN, QString &NID, QString &NSS);
|
|
private:
|
|
QVariant resolveV1 (QStringList parts);
|
|
};
|